Package org.apache.commons.math3.util
Class IterationEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.commons.math3.util.IterationEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IterativeLinearSolverEvent
public class IterationEvent extends java.util.EventObjectThe root class from which all events occurring while running anIterationManagershould be derived.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private intiterationsThe number of iterations performed so far.private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description IterationEvent(java.lang.Object source, int iterations)Creates a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIterations()Returns the number of iterations performed at the timethisevent is created.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
iterations
private final int iterations
The number of iterations performed so far.
-
-
Constructor Detail
-
IterationEvent
public IterationEvent(java.lang.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 timethisevent is created
-
-