org.encog.ml.graph.search
Class AStarSearch
java.lang.Object
org.encog.ml.graph.search.AbstractGraphSearch
org.encog.ml.graph.search.AStarSearch
- All Implemented Interfaces:
- GraphSearch, Prioritizer
public class AStarSearch
- extends AbstractGraphSearch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AStarSearch
public AStarSearch(BasicGraph theGraph,
BasicNode startingPoint,
SearchGoal theGoal,
CostEstimator theEstimator)
getEstimator
public CostEstimator getEstimator()
- Returns:
- the estimator
calculatePathCost
public double calculatePathCost(BasicPath path)
isHigherPriority
public boolean isHigherPriority(BasicPath first,
BasicPath second)
Copyright © 2014. All Rights Reserved.