|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.optimizer.Iteration
public class Iteration
The Iteration object is used as iteration counter for the
optimization.
| Field Summary | |
|---|---|
protected int |
maxIterations
|
protected int |
value
|
| Constructor Summary | |
|---|---|
Iteration(int maxIterations)
Constructs a Iteration object. |
|
| Method Summary | |
|---|---|
int |
max()
Returns the maximal number of iterations. |
void |
next()
Increases the iteration value by 1. |
int |
value()
Returns the current iteration value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int value
protected final int maxIterations
| Constructor Detail |
|---|
@Inject public Iteration(int maxIterations)
Iteration object.
maxIterations - the maximal number of iterations| Method Detail |
|---|
public int value()
public void next()
public int max()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||