org.encog.ml.graph.search
Class AbstractGraphSearch
- java.lang.Object
-
- org.encog.ml.graph.search.AbstractGraphSearch
-
- All Implemented Interfaces:
- GraphSearch, Prioritizer
- Direct Known Subclasses:
- AStarSearch, BreadthFirstSearch, DepthFirstSearch
public abstract class AbstractGraphSearch extends java.lang.Object implements GraphSearch
-
-
Constructor Summary
Constructors Constructor and Description AbstractGraphSearch(BasicGraph theGraph, BasicNode startingPoint, SearchGoal theGoal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description SearchGoalgetGoal()BasicGraphgetGraph()BasicPathgetSolution()voiditeration()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.encog.ml.graph.search.Prioritizer
isHigherPriority
-
-
-
-
Constructor Detail
-
AbstractGraphSearch
public AbstractGraphSearch(BasicGraph theGraph, BasicNode startingPoint, SearchGoal theGoal)
-
-
Method Detail
-
getGraph
public BasicGraph getGraph()
- Specified by:
getGraphin interfaceGraphSearch
-
getGoal
public SearchGoal getGoal()
- Specified by:
getGoalin interfaceGraphSearch
-
iteration
public void iteration()
- Specified by:
iterationin interfaceGraphSearch
-
getSolution
public BasicPath getSolution()
- Specified by:
getSolutionin interfaceGraphSearch- Returns:
- the solution
-
-
DMelt 3.0 © DataMelt by jWork.ORG