Next: Case of Homogeneous System, Previous: Running Multiple Test Passes for a Single Automaton, Up: test [Contents][Index]

Options of the program that can be used in both cases, when the system is homogeneous and when the system is comprised of two subsystems, the first of which is an environment state identification subsystem and the second of which is an optimal action generation subsystem, are listed below.

`-C, --ncycle-max=`

`VAL`Parameters related to automaton state graphs: state connectivity, simplification, the maximum number of cycles, and finding the best cycle. In the description of test modes is denoted by ‘

`Max. cycles`’. Supported values are described below.- 0
Do not provide the state connectivity, do not perform the simplification, do not restrict the maximum number of cycles in the graph, and do not find the best cycle.

- >0
Provide the state connectivity, perform the simplification, restrict the maximum number of cycles in the graph by

`VAL`, and find the best cycle.- “c”
[New in QSMM 1.16] Provide the state connectivity and find the best cycle by the algorithm analogous to the Viterbi one. In the description of test modes is denoted by value -1.

- “cs”
[New in QSMM 1.16] Provide the state connectivity, perform the simplification, and find the best cycle by the algorithm analogous to the Viterbi one. In the description of test modes is denoted by value -2.

The simplification of an automaton state graph consists in replacing transitions from (source) states to other states with transitions to the same (source) states on condition that resulting transitions do not yield positive spur increments, and the connectivity of the state graph is preserved.

If search of the best cycle in the state graph is performed, then the maximum amount of spur the system would receive during the most optimal interaction with the automaton will be calculated and printed in the ‘

`maximal`’ column of test log.`-f`

`FILE`A file to read the automaton from. In the description of test modes is denoted by ‘

`Automaton file`’.`-i, --seed=`

`INT`A seed to initialize the pseudorandom number generator. Default value is 0. In the description of test modes is denoted by ‘

`Random seed`’.`--kt=`

`FLOAT`The temperature (multiplied by some constant) of the homogeneous system or the temperature of the environment state identification subsystem and the optimal action generation subsystem in case when the system is comprised of two subsystems. Default value is 1. In the description of test modes is denoted by ‘

`K*temp.`’.`-n, --nstep-pass=`

`INT`The number of steps of interaction with a deterministic finite automaton at each test pass. At each step, the automaton receives an input signal and emits an output signal. Default value is 10000. In the description of test modes is denoted by ‘

`Steps per pass`’.`-o`

`FILE`A file to write program output to instead of stdout.

`-S, --storage=flat|map`

A statistics storage type for the system.

- ‘
`flat`’ Use preallocated storage presumably of big size, but with quick access to data elements. Is the default mode when possible.

- ‘
`map`’ Use dynamically allocated storage presumably of lesser size, but with slower access to data elements. The implementation of functionality of the STL

`map`

template is used for backing storage.

- ‘
`-t, --test=`

`INT`Perform the test specified number of passes. This option should always be specified if testing has to be performed. If an automaton is specified via the option

`-f`, then it will be used at all test passes. Otherwise, at each test pass a different random automaton will be generated having the numbers of input, output signals, and states equal to those specified by arguments at the end of command line. In the description of test modes is denoted by ‘`FILE``Passes`’.