Example #1
0
 public State Add(State state)
 {
     _states.Add (state);
     return state;
 }
Example #2
0
 public Transition(string label, double probability, State from, State to)
 {
     this.Label = label;
     this.Probability = probability;
     this.To = to;
     this.From = from;
 }
Example #3
0
 public Transition(string label, State from, State to)
     : this(label, 1, from, to)
 {
 }
Example #4
0
 public Transition(double probability, State from, State to)
     : this("", probability, from, to)
 {
 }
Example #5
0
 public Transition(State from, State to)
     : this("", 1, from, to)
 {
 }
Example #6
0
 public State(State copy)
 {
     Identifier        = copy.Identifier;
     Initial           = copy.Initial;
     ValidPropositions = copy.ValidPropositions;
 }