public class UnchangedSize extends UnchangedBase
Constructor and Description |
---|
UnchangedSize() |
Modifier and Type | Method and Description |
---|---|
protected void |
assignPrevious(double score,
int size)
Assigns the previous value to be remembered for comparison next time.
|
void |
initialize()
Called before
TerminationCondition.continueFurther(int, double, int, org.anchoranalysis.core.log.MessageLogger) once to setup state in the bean. |
protected boolean |
isUnchanged(double score,
int size)
Whether the current value is unchanged compared to the previous value.
|
continueFurther
getIterations, setIterations
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void initialize()
TerminationCondition
TerminationCondition.continueFurther(int, double, int, org.anchoranalysis.core.log.MessageLogger)
once to setup state in the bean.
If called again, it resets the current state.
initialize
in class UnchangedBase
protected boolean isUnchanged(double score, int size)
UnchangedBase
isUnchanged
in class UnchangedBase
protected void assignPrevious(double score, int size)
UnchangedBase
assignPrevious
in class UnchangedBase
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.