Skip to content
/ cgp Public

NetLogo Extension of Cartesian Genetic Programming in Scala

Notifications You must be signed in to change notification settings

cjw531/cgp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgp

Environment Setup

  1. Refer to NetLogo Wiki, install dependencies first. Also, pull NetLogo GitHub.
  2. Locate cgp/ folder under the NetLogo/extensions/ folder, which can be found from NetLogo which we just pulled from GitHub.
  3. Cretae *.jar file in the cgp directory:
~NetLogo/extensions/cgp$ sbt
sbt:cgp> compile
sbt:cgp> package

Note that warnings marked with [warn] is acceptable while [errors] are not. Resolving the error is the first step to do to generate *.jar. After executing both compile and package command, you should be able to see [success].

  1. Launch NetLogo (separate terminal):
~NetLogo$ sbt
sbt:root> netlogo/run

and open cgp.nlogo inside cgp/ folder.