Package org.opt4j.core.optimizer
Class Iteration
- java.lang.Object
-
- org.opt4j.core.optimizer.Iteration
-
-
Field Summary
Fields Modifier and Type Field Description protected int
maxIterations
protected int
value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
max()
Returns the maximal number of iterations.void
next()
Increases the iteration value by 1.int
value()
Returns the current iteration value.
-
-
-
Constructor Detail
-
Iteration
@Inject public Iteration(int maxIterations)
Constructs aIteration
object.- Parameters:
maxIterations
- the maximal number of iterations
-
-