Class AlgorithmBenchmarker

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

    public class AlgorithmBenchmarker
    extends java.lang.Object
    implements IExperimentSetEvaluator, org.api4.java.common.control.ILoggingCustomizable
    • Method Detail

      • 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
      • getTimeout

        public org.api4.java.algorithm.Timeout getTimeout()
      • setTimeout

        public void setTimeout​(org.api4.java.algorithm.Timeout timeout)
      • getExperimentSpecificTimeout

        public java.util.function.Function<Experiment,​org.api4.java.algorithm.Timeout> getExperimentSpecificTimeout()
      • setExperimentSpecificTimeout

        public void setExperimentSpecificTimeout​(java.util.function.Function<Experiment,​org.api4.java.algorithm.Timeout> experimentSpecificTimeout)
      • addPreRunHook

        public void addPreRunHook​(java.util.function.Consumer<org.api4.java.algorithm.IAlgorithm<?,​?>> hook)