org.encog.ml.graph.search
Class AbstractGraphSearch

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

public abstract class AbstractGraphSearch
extends Object
implements GraphSearch


Constructor Summary
AbstractGraphSearch(BasicGraph theGraph, BasicNode startingPoint, SearchGoal theGoal)
           
 
Method Summary
 SearchGoal getGoal()
           
 BasicGraph getGraph()
           
 BasicPath getSolution()
           
 void iteration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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:
getGraph in interface GraphSearch

getGoal

public SearchGoal getGoal()
Specified by:
getGoal in interface GraphSearch

iteration

public void iteration()
Specified by:
iteration in interface GraphSearch

getSolution

public BasicPath getSolution()
Specified by:
getSolution in interface GraphSearch
Returns:
the solution


Copyright © 2014. All Rights Reserved.