Package org.tweetyproject.math.term
Class FloatVariable
java.lang.Object
org.tweetyproject.math.term.Term
org.tweetyproject.math.term.Variable
org.tweetyproject.math.term.FloatVariable
This class models an float variable as a mathematical term.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionFloatVariable
(String name) Creates a new variable with the given name.FloatVariable
(String name, boolean isPositive) Creates a new variable with the given name.FloatVariable
(String name, double lowerBound, double upperBound) Creates a new variable with the given name and bounds. -
Method Summary
Methods inherited from class org.tweetyproject.math.term.Variable
collapseAssociativeOperations, derive, expandAssociativeOperations, getAbsoluteValues, getLowerBound, getMaximums, getMinimums, getName, getProducts, getSums, getTerms, getUpperBound, getVariables, isContinuous, isPositive, replaceTerm, simplify, toLinearForm, toQuadraticForm, toString, value
Methods inherited from class org.tweetyproject.math.term.Term
add, doubleValue, evaluateMatrix, evaluateVector, evaluateVector, isContinuous, isLinear, isQuadratic, min, minus, mult, replaceAllTerms, replaceAllTerms
-
Constructor Details
-
FloatVariable
Creates a new variable with the given name.- Parameters:
name
- the name of this variable.
-
FloatVariable
Creates a new variable with the given name.- Parameters:
name
- the name of this variable.isPositive
- whether this variables should be positive.
-
FloatVariable
Creates a new variable with the given name and bounds.- Parameters:
name
- the name of this variable.lowerBound
- the lower bound of the variable.upperBound
- the upper bound of the variable.
-
-
Method Details
-
isInteger
-
hashCode
-
equals
-