System Parameters
Following is a description of several system parameters which can be adjusted by the simulator and how they impact the simulation of an Oritatami system. All of these options can be accessed via the "Settings" menu.
- Set delay length: The delay length parameter is an integer which dictates the length of the path, i.e. the number of beads, for which the simulator tests every possible configuration of newly transcribed beads. Starting from the unoccupied locations adjacent to the most recently placed bead, the simulator tests every possible configuration consisting of this number of beads (whose types are determined according to its current location in the bead sequence). The path of beads being tested is referred to as the floppy segment since its bead positions aren't currently fixed. The simulator generates the set of configurations which can form the maximum number of bonds, and from that set it selects one configuration to produce the next step in the simulation. In the case where the set size is greater than one, one of the configurations is randomly selected (i.e. a nondeterministic choice is made). The default value for delay length is 2.
- Set arity: The arity parameter is an integer which dictates the maximum number of bonds that any single bead can form. The default value for arity is 1.
- Lock without binding: This parameter is a boolean value, i.e. "True" or "False" (and is set to "True" if and only if the menu item is checked). If it is set to "True", if the simulator finds that no configuration of new beads of the floppy segment can form a bond, it will randomly choose one of the possible configurations and place one or all beads of the floppy segment (which number is determined by the "bind full floppy segment" parameter). If the "lock without binding" parameter is set to "False", then in the case that no bonds can be formed by any configuration of the floppy segment, no beads are placed during this simulation step and the length of the floppy segment is increased by one. Once a step is reached where the floppy segment is long enough so that a configuration of the floppy segment can form at least one bond, such a configuration will be selected and, depending on the "bind full floppy segment" parameter, some number of beads of the floppy segment will be placed (see the definition of that parameter for an explanation). The default value for "lock without binding" is "False".
- Bind full floppy segment: This parameter is a boolean value, i.e. "True" or "False" (and is set to "True" if and only if the menu item is checked). If it is set to "True", then in any simulation step during which a bead is to be placed, all beads of the floppy segment are placed in that same step. If it is set to "False", then all beads will be placed up to the length of the floppy segment minus the delay length, plus one (so that the next simulation step can use the next bead to be transcribed and have a floppy segment whose length is once again equal to the delay length). For example, if the delay length is set to 2 and exactly the three previous steps of the simulation were unable to find configurations which form bonds, then the floppy segment length would be 5 for the current step. Assuming that at this point a configuration is found which forms a bond, then the first (5 - 2) + 1 = 4 beads of the floppy segment are placed during this step. The default value for "bind full floppy segment" is "False".
- Set max floppy length: This parameter is an integer which dictates the maximum length to which a floppy segment can grow before the simulator halts simulation. Note that the floppy segment can only grow if the "lock without binding" parameter is set to "False" and no configurations of the growing floppy segment which form bonds can be found. Since the computational complexity of testing all configurations of a floppy segment increases rapidly as the length of the floppy segment increases, it can take an extremely long time for all configurations of a long floppy segment to be tested. For this reason, the default value of this parameter is set to 9.