public class FloatVariable extends Variable
| Constructor and Description |
|---|
FloatVariable(java.lang.String name)
Creates a new variable with the given name.
|
FloatVariable(java.lang.String name,
boolean isPositive)
Creates a new variable with the given name.
|
FloatVariable(java.lang.String name,
double lowerBound,
double upperBound)
Creates a new variable with the given name and bounds.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isInteger()
Checks whether this term represents an integer value.
|
collapseAssociativeOperations, derive, expandAssociativeOperations, getAbsoluteValues, getLowerBound, getMaximums, getMinimums, getName, getProducts, getUpperBound, getVariables, isContinuous, isPositive, replaceTerm, simplify, toLinearForm, toString, valueadd, doubleValue, evaluateMatrix, evaluateVector, evaluateVector, isContinuous, isLinear, min, minus, mult, replaceAllTerms, replaceAllTermspublic FloatVariable(java.lang.String name)
name - the name of this variable.public FloatVariable(java.lang.String name,
boolean isPositive)
name - the name of this variable.isPositive - whether this variables should be positive.public FloatVariable(java.lang.String name,
double lowerBound,
double upperBound)
name - the name of this variable.lowerBound - the lower bound of the variable.upperBound - the upper bound of the variable.public boolean isInteger()
Term