org.onebusaway.transit_data_federation.impl.otp
Class RemainingWeightHeuristicImpl

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

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


Constructor Summary
RemainingWeightHeuristicImpl()
           
 
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

RemainingWeightHeuristicImpl

public RemainingWeightHeuristicImpl()
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.