Ejemplo n.º 1
0
 public void ReSet()
 {
     this.path        = new RouteProblem.Path(id);
     this.isComplete  = false;
     this.curStation  = null;
     this.runningTime = 0;
     this.distance    = 0;
     this.students    = new List <Student>();
     this.states      = new List <StateBus>();
 }
Ejemplo n.º 2
0
 public Bus(int id, int capacity)
 {
     this.Id          = id;
     this.capacity    = capacity;
     this.path        = new RouteProblem.Path(id);
     this.isComplete  = false;
     this.curStation  = null;
     this.runningTime = 0;
     this.distance    = 0;
     this.students    = new List <Student>();
     this.states      = new List <StateBus>();
 }