com.vadeen.neat.gui.visualization.Visualizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neat-gui Show documentation
Show all versions of neat-gui Show documentation
GUI implemenation for com.vadeen.neat.
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();
}