org.encog.ml.graph.search
Class AStarSearch

java.lang.Object
  extended by org.encog.ml.graph.search.AbstractGraphSearch
      extended by org.encog.ml.graph.search.AStarSearch
All Implemented Interfaces:
GraphSearch, Prioritizer

public class AStarSearch
extends AbstractGraphSearch


Constructor Summary
AStarSearch(BasicGraph theGraph, BasicNode startingPoint, SearchGoal theGoal, CostEstimator theEstimator)
           
 
Method Summary
 double calculatePathCost(BasicPath path)
           
 CostEstimator getEstimator()
           
 boolean isHigherPriority(BasicPath first, BasicPath second)
           
 
Methods inherited from class org.encog.ml.graph.search.AbstractGraphSearch
getGoal, getGraph, getSolution, iteration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

isHigherPriority

public boolean isHigherPriority(BasicPath first,
                                BasicPath second)


Copyright © 2014. All Rights Reserved.