Class EvaluationService

java.lang.Object
dev.zemco.codegame.evaluation.EvaluationService
All Implemented Interfaces:
IEvaluationService

public class EvaluationService extends Object implements IEvaluationService
Implementation of business logic related to evaluation of solutions of problems. This implementation uses an evaluation strategy for the evaluation, and the SolutionEvaluator for controlling the flow of the evaluation.
Author:
Erik Zemčík
See Also:
  • Constructor Details

    • EvaluationService

      public EvaluationService(IExecutionService executionService, IEvaluationStrategy evaluationStrategy)
      Creates an instance of EvaluationService.
      Parameters:
      executionService - execution service for creating the underlying executions to be evaluated
      evaluationStrategy - evaluation strategy to use for evaluation
      Throws:
      IllegalArgumentException - if executionService is null or if evaluationStrategy is null
  • Method Details