All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.unibo.alchemist.model.interfaces.BenchmarkableEnvironment Maven / Gradle / Ivy

There is a newer version: 20.0.1
Show newest version
package it.unibo.alchemist.model.interfaces;

/**
 * An environment which provides a mean to get infos about its performances.
 *
 * @param 
 */
public interface BenchmarkableEnvironment extends Environment {

    /**
     * Call this method to tell this environment that it should record its performances.
     * Please note that some environments might ignore this message if this method is not called before
     * starting using the environment itself.
     * 
     */
    void enableBenchmark();

    /**
     * @return a double which is a index of the performances
     */
    double getBenchmarkResult();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy