Class ImageEvolutionControlPanel

All Implemented Interfaces:
SimulationListener, ISimulationControlPanel, ImageObserver, MenuContainer, Serializable, Accessible

public class ImageEvolutionControlPanel extends JPanel implements ISimulationControlPanel, SimulationListener
Control panel for the image evolution GA demo.

Structure

Follows the same composite pattern as NetworkDeclutterControlPanel: an IconSimulationControlPanel on the left provides the standard play/pause/stop media buttons; the center contains two parameter sliders (triangle count and population size); and a Reset button on the right triggers a full re-run with the new parameters.

State-dependent enabling

The sliders and Reset button are only enabled when the simulation is in an "editable" state (READY, PAUSED, TERMINATED, or FAILED). While RUNNING the sliders are disabled to prevent inconsistent parameter changes mid-run.

See Also: