Class MultiEvaluator

    • Field Detail

      • evaluators

        protected final java.util.Set<Evaluator<java.lang.Object>> evaluators
      • objectivesProvider

        protected final com.google.inject.Provider<Objectives> objectivesProvider
    • Constructor Detail

      • MultiEvaluator

        @Inject
        public MultiEvaluator​(java.util.Set<Evaluator<java.lang.Object>> evaluators,
                              com.google.inject.Provider<Objectives> objectivesProvider)
        Creates a new MultiEvaluator.
        Parameters:
        evaluators - the registered evaluators
        objectivesProvider - the objectives provider
    • Method Detail

      • evaluate

        public Objectives evaluate​(java.lang.Object phenotype)
        Description copied from interface: Evaluator
        Evaluates a phenotype Object and returns the results in the Objectives.
        Specified by:
        evaluate in interface Evaluator<java.lang.Object>
        Parameters:
        phenotype - the phenotype to be evaluated
        Returns:
        the results in the objectives