I am working on modeling a problem for a computer program and am having a tough time coming up with the proper naming convention I would like to use.
Specifically I am working with a finite state machine that can have multiple levels of states. For parent states we usually use "parent" or "super" (i.e. super state) and for child states we use "child" or "sub-" (i.e. sub-state)
I have run into the problem of what to call a state transition to a state that is on the same level. I am not exiting to a parent state and I am not entering a child state. I am essentially moving sideways or swaping out the current state for another one that could be treated as a child state of the existing parent.
Here is an example
Current state list: State1, State1.1, State1.1.1
Exit the current child state.
New state list: State1, State1.1
Swap over to child 2 state.
New state list: State1, State1.2
What prefix or descriptor would I use when comparing State1.1 and State1.2?