net.sourceforge.cilib.algorithm
Class AlgorithmEvent
java.lang.Object
net.sourceforge.cilib.algorithm.AlgorithmEvent
public class AlgorithmEvent
- extends Object
This is the event raised by algorithms after iterations and completion.
See AlgorithmListener
- Author:
- Edwin Peer
Constructor Summary |
AlgorithmEvent(Algorithm source)
Creates a new instance of AlgorithmEvent with a given source algorithm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlgorithmEvent
public AlgorithmEvent(Algorithm source)
- Creates a new instance of
AlgorithmEvent
with a given source algorithm.
- Parameters:
source
- The source Algorithm
.
getSource
public Algorithm getSource()
- Accessor for the source algorithm.
- Returns:
- The
Algorithm
that raised this event.
Copyright © 2009 CIRG. All Rights Reserved.