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
-
-
Constructor Summary
Constructors Constructor and Description AStarSearch(BasicGraph theGraph, BasicNode startingPoint, SearchGoal theGoal, CostEstimator theEstimator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublecalculatePathCost(BasicPath path)CostEstimatorgetEstimator()booleanisHigherPriority(BasicPath first, BasicPath second)-
Methods inherited from class org.encog.ml.graph.search.AbstractGraphSearch
getGoal, getGraph, getSolution, iteration
-
-
-
-
Constructor Detail
-
AStarSearch
public AStarSearch(BasicGraph theGraph, BasicNode startingPoint, SearchGoal theGoal, CostEstimator theEstimator)
-
-
Method Detail
-
getEstimator
public CostEstimator getEstimator()
- Returns:
- the estimator
-
calculatePathCost
public double calculatePathCost(BasicPath path)
-
-
DMelt 3.0 © DataMelt by jWork.ORG