Skip to content

Named Parameters, New Tumble Probability, Dynamic Frame Time

Pre-release
Pre-release
Compare
Choose a tag to compare
@tamchow tamchow released this 13 Jul 07:31

Command-line parameters are all named now for better extensibility later on in implementing more command-line parameters.

Corrected tumble probability calculations; new one using overall concentration gradient change rate over time according to literature.

Implemented optional dynamic frame time feature for simulation updating

Recommended run configuration (6 food sources, 5 bacteria) (if you want to avoid the random defaults):

  1. If you have Scala installed:

scala ./chemotaxis.jar fs=6 bs=5

  1. If you don't have Scala installed (the JAR's 5MB+ in size because it bundles Scala (it's a UberJAR)):

java -jar ./chemotaxis.jar fs=6 bs=5

This assumes that the downloaded release JAR is in the current directory and the scala executable is on your path.