org.onebusaway.transit_data_federation.impl.otp
Class TPRemainingWeightHeuristicImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.TPRemainingWeightHeuristicImpl
All Implemented Interfaces:
org.opentripplanner.routing.algorithm.strategies.RemainingWeightHeuristic

public class TPRemainingWeightHeuristicImpl
extends Object
implements org.opentripplanner.routing.algorithm.strategies.RemainingWeightHeuristic


Constructor Summary
TPRemainingWeightHeuristicImpl()
           
 
Method Summary
 double computeForwardWeight(org.opentripplanner.routing.core.State s, org.opentripplanner.routing.core.Vertex target)
           
 double computeInitialWeight(org.opentripplanner.routing.core.State s, org.opentripplanner.routing.core.Vertex target)
           
 double computeReverseWeight(org.opentripplanner.routing.core.State s, org.opentripplanner.routing.core.Vertex target)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TPRemainingWeightHeuristicImpl

public TPRemainingWeightHeuristicImpl()
Method Detail

reset

public void reset()
Specified by:
reset in interface org.opentripplanner.routing.algorithm.strategies.RemainingWeightHeuristic

computeInitialWeight

public double computeInitialWeight(org.opentripplanner.routing.core.State s,
                                   org.opentripplanner.routing.core.Vertex target)
Specified by:
computeInitialWeight in interface org.opentripplanner.routing.algorithm.strategies.RemainingWeightHeuristic

computeForwardWeight

public double computeForwardWeight(org.opentripplanner.routing.core.State s,
                                   org.opentripplanner.routing.core.Vertex target)
Specified by:
computeForwardWeight in interface org.opentripplanner.routing.algorithm.strategies.RemainingWeightHeuristic

computeReverseWeight

public double computeReverseWeight(org.opentripplanner.routing.core.State s,
                                   org.opentripplanner.routing.core.Vertex target)
Specified by:
computeReverseWeight in interface org.opentripplanner.routing.algorithm.strategies.RemainingWeightHeuristic


Copyright © 2011 OneBusAway. All Rights Reserved.