Package org.tweetyproject.math.term
Class BinaryVariable
java.lang.Object
org.tweetyproject.math.term.Term
org.tweetyproject.math.term.Variable
org.tweetyproject.math.term.BinaryVariable
This class models a binary variable as a mathematical term.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionBinaryVariable
(String name) Creates a new binary variable with the given name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether this term represents an integer value.Methods inherited from class org.tweetyproject.math.term.Variable
collapseAssociativeOperations, derive, equals, expandAssociativeOperations, getAbsoluteValues, getLowerBound, getMaximums, getMinimums, getName, getProducts, getSums, getTerms, getUpperBound, getVariables, hashCode, 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
-
BinaryVariable
Creates a new binary variable with the given name.- Parameters:
name
- the name of the variable
-
-
Method Details
-
isInteger
-