·
5 commits
to master
since this release
This version includes 2 new algorithms for generating random Latin Squares:
- The optimized version of the Jacobsson & Mathews' algorithm (using mutable state, translated from java)
- The "Replacement Chain" method (using a functional style with immutable collections and recursion)
Also, the version 1.0.0 includes:
- various tests to exemplify how the library can be used. Run with the menu option "Run as... JUnit test", "Run as... Scala JUnit test", or "Run as... Scala test suite".
- Maven integration, to resolve all the opengl and scalatest dependencies. See the "README.md" file to learn compile instructions.
- 2 Generator classes that return "LatinSquare" abstract class objects.
If you have any suggestions, comments or doubts, please write an email to bluemontag@gmail.com.
TODO:
- improve the efficiency of the methods, specially the J&M algorithm
- using Option instead of Exceptions
Ignacio
Blue Montag Software