Implementation of an off lattice cellular automaton.
mvn package
java -jar off-lattice-1.0-SNAPSHOT-jar-with-dependencies.jar -df generator/1-dynamic-100.ari -n 0.1 -t 250
Parameters:
- -df, --dynamic_file <arg>: Path to the file with the dynamic values.
- -h, --help: Shows the help.
- -n, --noise <arg>: Noise of the environment.
- -rc, --radius <arg>: Radius of interaction between particles.
- -s, --speed <arg>: Speed module of the particles.
- -t, --time <arg>: Total time of the simulation.
The program accepts an input file that follows this format:
l
x1 y1 theta1
x2 y2 theta2
...
xn yn thetan
Where l
is the length of the side of the cell where the particles are generated.
You can use the python script generator/generate_files.py
to generate
several of these inputs.