aima.search.framework
Class DefaultStepCostFunction

java.lang.Object
  extended by aima.search.framework.DefaultStepCostFunction
All Implemented Interfaces:
StepCostFunction

public class DefaultStepCostFunction
extends java.lang.Object
implements StepCostFunction


Constructor Summary
DefaultStepCostFunction()
           
 
Method Summary
 java.lang.Double calculateStepCost(java.lang.Object fromState, java.lang.Object toState, java.lang.String action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStepCostFunction

public DefaultStepCostFunction()
Method Detail

calculateStepCost

public java.lang.Double calculateStepCost(java.lang.Object fromState,
                                          java.lang.Object toState,
                                          java.lang.String action)
Specified by:
calculateStepCost in interface StepCostFunction