Class TwoPhaseCandidateEvaluator

  • All Implemented Interfaces:
    java.lang.Runnable, org.api4.java.common.control.ILoggingCustomizable

    public class TwoPhaseCandidateEvaluator
    extends java.lang.Object
    implements java.lang.Runnable, org.api4.java.common.control.ILoggingCustomizable
    • Constructor Detail

      • TwoPhaseCandidateEvaluator

        public TwoPhaseCandidateEvaluator​(HASCOSolutionCandidate<java.lang.Double> c,
                                          long selectionPhaseDeadline,
                                          double timeoutTolerance,
                                          double blowupInSelection,
                                          double blowupInPostProcessing,
                                          org.api4.java.common.attributedobjects.IObjectEvaluator<ai.libs.jaicore.components.model.ComponentInstance,​java.lang.Double> evaluator,
                                          java.util.concurrent.Semaphore sem)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • getSelectionScore

        public double getSelectionScore()
      • getEstimatedInSelectionSingleIterationEvaluationTime

        public int getEstimatedInSelectionSingleIterationEvaluationTime()
      • getEstimatedPostProcessingTime

        public int getEstimatedPostProcessingTime()
      • getEstimatedTotalEffortInCaseOfSelection

        public int getEstimatedTotalEffortInCaseOfSelection()
      • getTimeoutForEvaluation

        public int getTimeoutForEvaluation()
      • getTrueEvaluationTime

        public long getTrueEvaluationTime()
      • getLoggerName

        public java.lang.String getLoggerName()
        Specified by:
        getLoggerName in interface org.api4.java.common.control.ILoggingCustomizable
      • setLoggerName

        public void setLoggerName​(java.lang.String name)
        Specified by:
        setLoggerName in interface org.api4.java.common.control.ILoggingCustomizable