Interface IDStarAlgorithm
-
public interface IDStarAlgorithm
Interface specifying how an algorithm to be used byDStarRunner
should look like. Each implementing class should correspond to one of the D* functions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueEval
getResult()
Return a result ValueEval that will be the result of the calculation.boolean
processMatch(ValueEval eval)
Process a match that is found during a run through a database.
-
-
-
Method Detail
-
processMatch
boolean processMatch(ValueEval eval)
Process a match that is found during a run through a database.- Parameters:
eval
- ValueEval of the cell in the matching row. References will already be resolved.- Returns:
- Whether we should continue iterating through the database.
-
getResult
ValueEval getResult()
Return a result ValueEval that will be the result of the calculation. This is always called at the end of a run through the database.- Returns:
- a ValueEval
-
-