Interface IDStarAlgorithm

All Known Implementing Classes:
DGet, DMax, DMin, DSum

public interface IDStarAlgorithm
Interface specifying how an algorithm to be used by DStarRunner should look like. Each implementing class should correspond to one of the D* functions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a result ValueEval that will be the result of the calculation.
    boolean
    Process a match that is found during a run through a database.
  • Method Details

    • 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