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

com.vadeen.neat.gui.visualization.Visualizer Maven / Gradle / Ivy

The newest version!
package com.vadeen.neat.gui.visualization;

import com.vadeen.neat.generation.Generation;

public interface Visualizer {

    /**
     * @return Desired frames per second.
     */
    int getFramesPerSecond();

    /**
     * Called before the run of a visualization session.
     *
     * @param generation Generation to be visualized.
     */
    void setup(Generation generation);

    /**
     * Ticks visualization.
     *
     * @return True if the visualization should continue. False if it should stop.
     */
    boolean tick();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy