Scripts and Flags
This section lists all available flags (options) with which each python script can be ran with. All scripts should be run with the following pattern:
$ python <script> <options>
Flags whose Argument Type is void do not require arg values to be
passed when specified in <options>. All other types require an arg value to be
given following the option if specified. Flags whose Default Value is
None are mandatory to be included in <options>, unless an alternative flag
such as --directory in hive_simulation.py is given. Example:
$ python hive_simulation.py -d -i 30 --epochs=360
Args of type List[str] should be inputed as comma seperated list of string without blank spaces. Example:
$ python mixing_rate_sampler.py -f a_func,another_func,yet_another_func
simfile_generator.py |
||||
|---|---|---|---|---|
Long option |
Short Option |
Argument Type |
Default Value |
Description |
–file |
-f |
str |
|
Creates a simulation file with the specified name inside |
hive_simulation.py |
||||
|---|---|---|---|---|
Long option |
Short Option |
Argument Type |
Default Value |
Description |
–directory |
-d |
void |
|
Executes all simulation files available inside |
–file |
-f |
str |
|
Executes the specified file, located inside |
–iterations |
-i |
int |
|
How many times each simulation file is executed. |
–start_iteration |
-i |
int |
|
A number that marks the first desired identifier for the simulations that will execute. |
–epochs |
-e |
int |
|
Number of discrete time steps (epochs) each executed simulation lasts. |
–threading |
-t |
int |
|
Number of threads the script will create. Each thread runs one simulation at a time. |
–master_server |
-m |
str |
|
Name of the class that manages the systems’ |
–cluster_group |
-c |
str |
|
Name of the class that represents a |
–network_node |
-n |
str |
|
Name of the class that represents a |
mixing_rate_sampler.py |
||||
|---|---|---|---|---|
Long option |
Short Option |
Argument Type |
Default Value |
Description |
–network_sizes |
-n |
Tuple[int] |
|
The network sizes to be tested. |
–samples |
-s |
int |
|
Number of random adjacency matrices and desired steady-state vectors should be generated for each network size. |
–module |
-m |
str |
|
Name of the module where |
–functions |
-f |
List[str] |
|
Name of functions that will use |
–allow_sloops |
-a |
int |
|
Indicates if |
–enforce_sloops |
-e |
int |
|
Forces |