Package it.polito.appeal.traci

Examples of it.polito.appeal.traci.ControlledLink


   
    assertEquals(linksLaneIDs.length, links.getLinks().length);
    for (int i=0; i<linksLaneIDs.length; i++) {
      ControlledLink[] linksForSignal = links.getLinks()[i];
      assertEquals(1, linksForSignal.length);
      ControlledLink link = linksForSignal[0];
      assertEquals(linksLaneIDs[i][0], link.getIncomingLane().getID());
      assertEquals(linksLaneIDs[i][1], link.getAcrossLane().getID());
      assertEquals(linksLaneIDs[i][2], link.getOutgoingLane().getID());
    }
  }
View Full Code Here


   
    assertEquals(linksLaneIDs.length, links.getLinks().length);
    for (int i=0; i<linksLaneIDs.length; i++) {
      ControlledLink[] linksForSignal = links.getLinks()[i];
      assertEquals(1, linksForSignal.length);
      ControlledLink link = linksForSignal[0];
      assertEquals(linksLaneIDs[i][0], link.getIncomingLane().getID());
      assertEquals(linksLaneIDs[i][1], link.getAcrossLane().getID());
      assertEquals(linksLaneIDs[i][2], link.getOutgoingLane().getID());
    }
  }
View Full Code Here

TOP

Related Classes of it.polito.appeal.traci.ControlledLink

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.