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