org.onebusaway.transit_data_federation.model.tripplanner
Class TripStateStats

java.lang.Object
  extended by org.onebusaway.transit_data_federation.model.tripplanner.TripStats
      extended by org.onebusaway.transit_data_federation.model.tripplanner.TripStateStats

public class TripStateStats
extends TripStats


Constructor Summary
TripStateStats(double walkingVelocity, TripState state, long tripStartTime, int index)
           
TripStateStats(TripStats stats, TripState state, long tripStartTime, int index)
           
 
Method Summary
 void addChild(TripStateStats child)
           
 List<TripStateStats> getChildren()
           
 double getEstimatedScore()
           
 TripStateStats getParent()
           
 TripState getState()
           
 long getTripStartTime()
           
 int hashCode()
           
 void incrementTripStartTime(long offset)
           
 boolean isExcluded()
           
 void setEsimatedScore(double score)
           
 void setExcluded(boolean excluded)
           
 void setParent(TripStateStats parent)
           
 
Methods inherited from class org.onebusaway.transit_data_federation.model.tripplanner.TripStats
getFirstWalkDuration, getInitialSlackTime, getInitialWaitingTime, getMaxSingleWalkDistance, getScore, getTotalWalkingDistance, getTransferWaitingTime, getTripDuration, getVehicleCount, getVehicleTime, getWalkingVelocity, incrementInitialSlackTime, incrementInitialWaitingTime, incrementTotalWalkingDistance, incrementTransferWaitingTime, incrementVehicleCount, incrementVehicleTime, setFirstWalkDuration, setInitialSlackTime, setInitialWaitingTime, setMaxSingleWalkDistance, setScore, setTotalWalkingDistance, setTransferWaitingTime, setVehicleCount, setVehicleTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripStateStats

public TripStateStats(double walkingVelocity,
                      TripState state,
                      long tripStartTime,
                      int index)

TripStateStats

public TripStateStats(TripStats stats,
                      TripState state,
                      long tripStartTime,
                      int index)
Method Detail

getState

public TripState getState()

getEstimatedScore

public double getEstimatedScore()

setEsimatedScore

public void setEsimatedScore(double score)

getTripStartTime

public long getTripStartTime()

incrementTripStartTime

public void incrementTripStartTime(long offset)

getParent

public TripStateStats getParent()

setParent

public void setParent(TripStateStats parent)

addChild

public void addChild(TripStateStats child)

getChildren

public List<TripStateStats> getChildren()

isExcluded

public boolean isExcluded()

setExcluded

public void setExcluded(boolean excluded)

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 OneBusAway. All Rights Reserved.