Package gld.sim.stats.tracks.bind

Examples of gld.sim.stats.tracks.bind.Track


    }

  }

  public Track makeNewTrack(String id, float ruWaiting) {
    Track newTrack = null;
    try {
      newTrack = objectFactory.createTrack();

      newTrack.setId(id);
      newTrack.setRoadUsersWaiting(ruWaiting);
    } catch (JAXBException e) {
      System.out.println(
        "There was this problem creating a new item: " + e);
    }
    return newTrack;
View Full Code Here


        Drivelane[] lanes = node.getInboundLanes();
        for (int j = 0; j < lanes.length; j++) {
          Drivelane drivelane = lanes[j];
          Drivelane.DrivelaneStatistics dls = drivelane.getStatistics();

          Track track = su.makeNewTrack(Integer.toString(drivelane.getId()),dls.getAvgNumberRUWaiting());
          su.addItem(track);
          drivelane.initStats();         
        }
      } catch (InfraException e) {
        e.printStackTrace();
View Full Code Here

TOP

Related Classes of gld.sim.stats.tracks.bind.Track

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.