예제 #1
0
 public Place(string label = "")
 {
     this.id           = Subnet.GetNextID();
     this.label        = label;
     this.tokens       = new List <Token>();
     this.isTransition = false;
 }
예제 #2
0
 public Place(string label, bool isTransition)
 {
     this.id           = Subnet.GetNextID();
     this.label        = label;
     this.tokens       = new List <Token>();
     this.isTransition = isTransition;
 }
예제 #3
0
 public Subnet(string label = "")
 {
     this.id           = Subnet.GetNextID();
     this.label        = label;
     placesTransitions = new Dictionary <int, Place>();
     arcs = new List <Arc>();
 }