Package org.tweetyproject.math.term
Class IntegerVariable
java.lang.Object
org.tweetyproject.math.term.Term
org.tweetyproject.math.term.Variable
org.tweetyproject.math.term.IntegerVariable
This class models an integer variable as a mathematical term.
- Author:
- Matthias Thimm
- 
Constructor SummaryConstructorsConstructorDescriptionIntegerVariable(String name) Creates a new variable with the given name.IntegerVariable(String name, boolean isPositive) Creates a new variable with the given name.IntegerVariable(String name, double lowerBound, double upperBound) Creates a new variable with the given name and bounds.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanChecks whether this term represents an integer value.Methods inherited from class org.tweetyproject.math.term.VariablecollapseAssociativeOperations, derive, equals, expandAssociativeOperations, getAbsoluteValues, getLowerBound, getMaximums, getMinimums, getName, getProducts, getSums, getTerms, getUpperBound, getVariables, hashCode, isContinuous, isPositive, replaceTerm, simplify, toLinearForm, toQuadraticForm, toString, valueMethods inherited from class org.tweetyproject.math.term.Termadd, doubleValue, evaluateMatrix, evaluateVector, evaluateVector, isContinuous, isLinear, isQuadratic, min, minus, mult, replaceAllTerms, replaceAllTerms
- 
Constructor Details- 
IntegerVariableCreates a new variable with the given name.- Parameters:
- name- the name of this variable.
 
- 
IntegerVariableCreates a new variable with the given name.- Parameters:
- name- the name of this variable.
- isPositive- whether this variables should be positive.
 
- 
IntegerVariableCreates 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
 
-