org.apache.commons.math3.util
Class IterationEvent
java.lang.Object
java.util.EventObject
org.apache.commons.math3.util.IterationEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IterativeLinearSolverEvent
public class IterationEvent
- extends EventObject
The root class from which all events occurring while running an
IterationManager
should be derived.
- Version:
- $Id: IterationEvent.java 7703 2013-02-12 17:12:25Z CardosoP $
- See Also:
- Serialized Form
Constructor Summary |
IterationEvent(Object source,
int iterations)
Creates a new instance of this class. |
Method Summary |
int |
getIterations()
Returns the number of iterations performed at the time this event
is created. |
IterationEvent
public IterationEvent(Object source,
int iterations)
- Creates a new instance of this class.
- Parameters:
source
- the iterative algorithm on which the event initially
occurrediterations
- the number of iterations performed at the time
this
event is created
getIterations
public int getIterations()
- Returns the number of iterations performed at the time
this
event
is created.
- Returns:
- the number of iterations performed
Copyright © 2016 CNES. All Rights Reserved.