A set of example usages of nz.co.jedsimson.lgp:core
and nz.co.jedsimson.lgp:lib
.
To run the provided examples, you can build a fat JAR using Gradle and then execute the given main class, as follows:
- Build a fat JAR
./gradlew jar
This will output a JAR to the build/libs
directory that contains everything necessary to run the examples.
- Run your chosen problem
cd build/libs
kotlin -cp LGP-examples-1.0.jar:. nz.co.jedsimson.lgp.examples.kotlin.SimpleFunction
To enable logging for the framework, add the following option to the above command: -Dorg.slf4j.simpleLogger.defaultLogLevel=LOG_LEVEL