Module dev.civl.gmc
Package dev.civl.gmc

Class GuidedTransitionChooser<STATE,TRANSITION>

java.lang.Object
dev.civl.gmc.GuidedTransitionChooser<STATE,TRANSITION>
Type Parameters:
STATE -
TRANSITION -
All Implemented Interfaces:
TransitionChooser<STATE,TRANSITION>

public class GuidedTransitionChooser<STATE,TRANSITION> extends Object implements TransitionChooser<STATE,TRANSITION>
Transition Chooser which makes its choice using an explicit "guide". The guide is a sequence of integers whose length is the number of nondeterministic states encountered along the trace. (A nondeterministic state is one that has more than one enabled transition.) The sequence is specified in a compressed form. This form consists of a sequence of integer pairs a:b. The pair a:b represents a consecutive bs. For example, "3:0 2:1" represents the sequence 0, 0, 0, 1, 1.