org.onebusaway.transit_data_federation.services.tripplanner
Class TransferParent

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.tripplanner.TransferParent
Direct Known Subclasses:
TransferNode

public class TransferParent
extends Object


Constructor Summary
TransferParent(TransferPatternData data)
           
 
Method Summary
 void addTransferNode(TransferNode node)
           
 void extendHub(StopEntry hubStop, Iterable<StopEntry> stopsTo)
           
 TransferNode extendTree(StopEntry fromStop, StopEntry toStop, boolean exitAllowed)
           
 Collection<HubNode> getHubs()
           
 Collection<TransferNode> getTransfers()
           
 int size()
           
 String toString()
           
protected  void toString(TransferNode tree, Set<org.onebusaway.collections.tuple.Pair<StopEntry>> visited, String prefix, StringBuilder b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransferParent

public TransferParent(TransferPatternData data)
Method Detail

getTransfers

public Collection<TransferNode> getTransfers()

getHubs

public Collection<HubNode> getHubs()

extendTree

public TransferNode extendTree(StopEntry fromStop,
                               StopEntry toStop,
                               boolean exitAllowed)

extendHub

public void extendHub(StopEntry hubStop,
                      Iterable<StopEntry> stopsTo)

addTransferNode

public void addTransferNode(TransferNode node)

size

public int size()

toString

public String toString()
Overrides:
toString in class Object

toString

protected void toString(TransferNode tree,
                        Set<org.onebusaway.collections.tuple.Pair<StopEntry>> visited,
                        String prefix,
                        StringBuilder b)


Copyright © 2011 OneBusAway. All Rights Reserved.