RE
- the type of the residualpublic interface Optimiser<RE extends IRingElement<RE>>
Target
. The
following steps are necessary:
Target
Optimiser
) has to be instantiated and
referenced to the target.optimise()
to start the optimisation.Modifier and Type | Interface and Description |
---|---|
static class |
Optimiser.State
the states of the optimiser
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxOptimisationSteps() |
int |
getOptimisationStepsTaken() |
RE |
getResidual() |
Optimiser.State |
getState() |
java.lang.Thread |
optimise()
run the optimiser in the background.
|
void |
setMaxOptimisationSteps(int maxOptimisationSteps) |
void |
setTarget(Target<RE> target)
Set the
Target for the optimiser. |
void setTarget(Target<RE> target)
Target
for the optimiser. Does not start the
optimisation.target
- The target for the optimisationjava.lang.Thread optimise()
Optimiser.State getState()
RE getResidual()
int getMaxOptimisationSteps()
void setMaxOptimisationSteps(int maxOptimisationSteps)
maxOptimisationSteps
- the maxOptimisationSteps to setint getOptimisationStepsTaken()
optimise()
. If optimise did not yet terminate, this is
the current number of steps. -1 if no optimisation was executed.