net.sourceforge.cilib.algorithm
Class AlgorithmEvent

java.lang.Object
  extended by 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.
 
Method Summary
 Algorithm getSource()
          Accessor for the source algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmEvent

public AlgorithmEvent(Algorithm source)
Creates a new instance of AlgorithmEvent with a given source algorithm.

Parameters:
source - The source Algorithm.
Method Detail

getSource

public Algorithm getSource()
Accessor for the source algorithm.

Returns:
The Algorithm that raised this event.


Copyright © 2009 CIRG. All Rights Reserved.