Author
------

Alexandru Moșoi <brtzsn@gmail.com>
VU Amsterdam http://www.vu.nl


Site
----

Main site: http://www.few.vu.nl/~ami650/structure/


Building
--------

STRUCTure requires trove4j 2.1.0, Constellation 0.7.0 and IPL 2.2.

1. Constellation

$ svn co https://gforge.cs.vu.nl/svn/ibis/cohort contellation
$ cd contellation/
$ ant
$ mvn install:install-file -Dfile=lib/constellation-0.7.0.jar -Dpackaging=jar -DgroupId=ibis -DartifactId=constellation -Dversion=0.7.0

2. Trove

$ wget http://sourceforge.net/projects/trove4j/files/trove/2.1.0/trove-2.1.0.tar.gz/download
$ tar xzvf trove-2.1.0.tar.gz
$ cd trove-2.1.0
$ ant
$ mvn install:install-file -Dfile=lib/trove-2.1.0.jar -Dpackaging=jar -DgroupId=trove -DartifactId=trove -Dversion=2.1.0

3. IPL

$ wget http://gforge.cs.vu.nl/gf/download/frsrelease/135/719/ipl-2.2.zip
$ unzip ipl-2.2.zip
$ cd ipl-2.2
$ vim ibis.properties 
$ bin/ipl-server

4. Structure

Note that you may have to disable the tests to be able to compile. Lately I switched to
more automated random generated tests to help debugging and finding of corner cases so
I neglected the unit tests.

$ mvn site
$ mvn compile test
$ mvn assembly:assembly


Running
-------

A script solve is included which should work after $ mvn assembly:assembly

$ ./solve input.cnf


Testing
-------

bin/ contains some generators.
testing/ contains various testing scripts. Check:

$ testing/eval <problem-size>   # finds failed instances
$ testing/validator.py          # validates a solution
$ testing/prun-schedule         # evaluates on DAS cluster at VU
