
freak.core.event.RunEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of freak-core Show documentation
Show all versions of freak-core Show documentation
Core library of the Free Evolutionary Algorithm Toolkit
/*
* This file is part of FrEAK. For licensing and copyright information
* please see the file COPYING in the root directory of this
* distribution or contact .
*/
package freak.core.event;
import freak.core.control.*;
/**
* A RunEvent is sent by the Schedule, every time a run is started or finished.
*
* @author Stefan
*/
public class RunEvent extends Event {
private RunEventSource source;
private RunIndex runIndex;
public RunEvent(RunEventSource source, RunIndex runIndex) {
this.source = source;
this.runIndex = runIndex;
}
public RunEventSource getSource() {
return source;
}
/**
* Returns the number of the associated run.
*/
public RunIndex getRunIndex() {
return runIndex;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy