|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.measurement.generic.Time
public class Time
Constructor Summary | |
---|---|
Time()
Create a default instance of Time. |
|
Time(Time copy)
Copy constructor. |
Method Summary | |
---|---|
void |
algorithmFinished(AlgorithmEvent e)
This event is fired when the algorithm has completed normally. |
void |
algorithmStarted(AlgorithmEvent e)
This event is fired just prior to the execution of the main loop of the algorithm. |
void |
algorithmTerminated(AlgorithmEvent e)
This event is fired when the algorithm is terminated abnormally. |
Time |
getClone()
Create a cloned copy of the current object and return it. |
String |
getDomain()
Get the domain string representing what this measurement's results will conform to. |
Type |
getValue(Algorithm algorithm)
Get the value of the measurement. |
void |
iterationCompleted(AlgorithmEvent e)
This event is fired after each iteration of the mail loop of the algorithm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Time()
public Time(Time copy)
copy
- The instance to copy.Method Detail |
---|
public Time getClone()
getClone
in interface AlgorithmListener
getClone
in interface Measurement
getClone
in interface Cloneable
Object.clone()
public String getDomain()
getDomain
in interface Measurement
public Type getValue(Algorithm algorithm)
Measurement.getDomain()
getValue
in interface Measurement
algorithm
- The algorithm to obtain the measurement from.
public void algorithmStarted(AlgorithmEvent e)
algorithmStarted
in interface AlgorithmListener
e
- an event containing a reference to the source algorithm.public void algorithmFinished(AlgorithmEvent e)
algorithmFinished
in interface AlgorithmListener
e
- an event containing a reference to the source algorithm.public void algorithmTerminated(AlgorithmEvent e)
algorithmTerminated
in interface AlgorithmListener
e
- an event containing a reference to the source algorithm.public void iterationCompleted(AlgorithmEvent e)
iterationCompleted
in interface AlgorithmListener
e
- an event containing a reference to the source algorithm.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |