public class IssueReal extends Issue
Double values within some range [min, max].| Constructor and Description |
|---|
IssueReal(java.lang.String name,
int issueNumber,
double min,
double max) |
IssueReal(java.lang.String name,
int issueNumber,
double min,
double max,
Objective objParent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInRange(Value val)
Method to check if the given value is in the range specified
by the issue.
|
java.lang.String |
convertToString() |
double |
getLowerBound() |
int |
getNumberOfDiscretizationSteps() |
ISSUETYPE |
getType()
This method is added for convenience.
|
double |
getUpperBound() |
boolean |
setLowerBound(double lo) |
void |
setNumberOfDiscretizationSteps(int numberOfDiscretizationSteps) |
boolean |
setUpperBound(double up) |
SimpleElement |
toXML()
Returns a SimpleElement representation of this issue.
|
children, equalContents, equals, getAllowsChildren, getChildAt, getChildCount, getChildren, getChildWithID, getDescription, getHighestObjectiveNr, getIndex, getName, getNumber, getObjective, getParent, getPath, getPreorderEnumeration, getPreorderIssueEnumeration, getPreorderObjectiveEnumeration, getSiblings, getUserObject, hashCode, insert, isIssue, isLeaf, isObjective, isParent, remove, remove, removeFromParent, setDescription, setName, setNumber, setParent, setUserObject, toStringpublic IssueReal(java.lang.String name,
int issueNumber,
double min,
double max)
public IssueReal(java.lang.String name,
int issueNumber,
double min,
double max,
Objective objParent)
public boolean checkInRange(Value val)
IssuecheckInRange in class Issueval - to be checked.public final double getLowerBound()
public final double getUpperBound()
public final boolean setUpperBound(double up)
public final boolean setLowerBound(double lo)
public int getNumberOfDiscretizationSteps()
public void setNumberOfDiscretizationSteps(int numberOfDiscretizationSteps)
public SimpleElement toXML()
public ISSUETYPE getType()
Objectivepublic java.lang.String convertToString()
convertToString in class Issue