org.apache.commons.math3.util
public class IterationEvent extends EventObject
IterationManager
should be derived.Modifier and Type | Field and Description |
---|---|
private int |
iterations
The number of iterations performed so far.
|
private static long |
serialVersionUID |
source
Constructor and Description |
---|
IterationEvent(Object source,
int iterations)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
int |
getIterations()
Returns the number of iterations performed at the time
this event
is created. |
getSource, toString
private static final long serialVersionUID
private final int iterations
public IterationEvent(Object source, int iterations)
source
- the iterative algorithm on which the event initially
occurrediterations
- the number of iterations performed at the time
this
event is createdCopyright (c) 2003-2013 Apache Software Foundation