Interface IEvaluationStrategy

All Known Implementing Classes:
OutputSinkSatisfiedEvaluationStrategy

public interface IEvaluationStrategy
Algorithm that evaluates if the execution context has reached a state, where it satisfies rules as a valid solution of a problem case.
Author:
Erik Zemčík
  • Method Details

    • evaluateSolutionForProblemCase

      boolean evaluateSolutionForProblemCase(IExecutionContext executionContext, ProblemCase problemCase)
      Evaluates if the execution context is in a state that is considered a valid solution of a given problem case.
      Parameters:
      executionContext - execution context to evaluate
      problemCase - problem case to check against
      Returns:
      true if the state of the execution context is considered a valid solution, else false
      Throws:
      IllegalArgumentException - if executionContext is null or if problemCase is null