org.onebusaway.transit_data_federation.impl.otp.graph.tp
Class TPDepartureVertex

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
      extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
          extended by org.onebusaway.transit_data_federation.impl.otp.graph.tp.TPDepartureVertex
All Implemented Interfaces:
Cloneable, HasStopTransitVertex, SearchLocal, HasPathStateVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex

public class TPDepartureVertex
extends AbstractVertexWithEdges
implements SearchLocal


Field Summary
protected  boolean _isDeparture
           
protected  TPState _pathState
           
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
_context
 
Constructor Summary
TPDepartureVertex(GraphContext context, TPState pathState)
           
 
Method Summary
 boolean equals(Object obj)
           
 Collection<org.opentripplanner.routing.core.Edge> getIncoming()
          HasEdges Interface
 Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
           
 TPState getPathState()
           
<T> T
getSearchLocalValue()
          SearchLocal Interface
 StopEntry getStop()
          HasStopTransitVertex Interface
 double getX()
          Vertex Interface
 double getY()
           
 int hashCode()
          Object Interface
 boolean isDeparture()
           
<T> void
setSearchLocalValue(T value)
           
 String toString()
           
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
getDegreeIn, getDegreeOut
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
distance, distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getLabel, getName, getStopId, setDistanceToNearestTransitStop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.onebusaway.transit_data_federation.impl.otp.graph.TransitVertex
getContext
 

Field Detail

_pathState

protected final TPState _pathState

_isDeparture

protected final boolean _isDeparture
Constructor Detail

TPDepartureVertex

public TPDepartureVertex(GraphContext context,
                         TPState pathState)
Method Detail

getIncoming

public Collection<org.opentripplanner.routing.core.Edge> getIncoming()
HasEdges Interface

Specified by:
getIncoming in interface org.opentripplanner.routing.core.HasEdges
Overrides:
getIncoming in class AbstractVertexWithEdges

getOutgoing

public Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
Specified by:
getOutgoing in interface org.opentripplanner.routing.core.HasEdges
Overrides:
getOutgoing in class AbstractVertexWithEdges

getSearchLocalValue

public <T> T getSearchLocalValue()
SearchLocal Interface

Specified by:
getSearchLocalValue in interface SearchLocal

setSearchLocalValue

public <T> void setSearchLocalValue(T value)
Specified by:
setSearchLocalValue in interface SearchLocal

hashCode

public int hashCode()
Object Interface


equals

public boolean equals(Object obj)

toString

public String toString()
Specified by:
toString in interface org.opentripplanner.routing.core.Vertex
Overrides:
toString in class Object

getPathState

public TPState getPathState()
Specified by:
getPathState in interface HasPathStateVertex

isDeparture

public boolean isDeparture()
Specified by:
isDeparture in interface HasPathStateVertex

getX

public double getX()
Vertex Interface

Specified by:
getX in interface org.opentripplanner.routing.core.Vertex

getY

public double getY()
Specified by:
getY in interface org.opentripplanner.routing.core.Vertex

getStop

public StopEntry getStop()
HasStopTransitVertex Interface

Specified by:
getStop in interface HasStopTransitVertex


Copyright © 2011 OneBusAway. All Rights Reserved.