parser.instances.checker
Class OptimSChecker
java.lang.Object
parser.instances.checker.OptimSChecker
- All Implemented Interfaces:
- IPretty, IOptimChecker, IStatusChecker
public final class OptimSChecker
- extends Object
- implements IOptimChecker
minObjValue
protected final int minObjValue
maxObjValue
protected final int maxObjValue
OptimSChecker
public OptimSChecker(int optObjValue)
OptimSChecker
public OptimSChecker(int minObjValue,
int maxObjValue)
getMinObjValue
public int getMinObjValue()
getMaxObjValue
public int getMaxObjValue()
checkLowerBound
public boolean checkLowerBound(boolean doMaximize,
int lbVal)
- Specified by:
checkLowerBound
in interface IOptimChecker
checkOptimum
public boolean checkOptimum(int optVal)
- Specified by:
checkOptimum
in interface IOptimChecker
checkUpperBound
public boolean checkUpperBound(boolean doMaximize,
int ubVal)
- Specified by:
checkUpperBound
in interface IOptimChecker
checkLowerBound
public boolean checkLowerBound(boolean doMaximize,
Number lbVal)
- Specified by:
checkLowerBound
in interface IOptimChecker
checkUpperBound
public boolean checkUpperBound(boolean doMaximize,
Number ubVal)
- Specified by:
checkUpperBound
in interface IOptimChecker
checkOptimum
public boolean checkOptimum(Number optVal)
- Specified by:
checkOptimum
in interface IOptimChecker
checkStatus
public void checkStatus(Boolean doMaximize,
ResolutionStatus status,
Number objective)
throws SolutionCheckerException
- Specified by:
checkStatus
in interface IStatusChecker
- Throws:
SolutionCheckerException
pretty
public String pretty()
- Description copied from interface:
IPretty
- pretty printing of the object. This String is not constant and may depend on the context.
- Specified by:
pretty
in interface IPretty
- Returns:
- a readable string representation of the object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.