Package org.tweetyproject.math.term
Class IntegerConstant
java.lang.Object
org.tweetyproject.math.term.Term
org.tweetyproject.math.term.Constant
org.tweetyproject.math.term.IntegerConstant
This class encapsulates an integer as a term.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Methods inherited from class org.tweetyproject.math.term.Constant
collapseAssociativeOperations, derive, expandAssociativeOperations, getAbsoluteValues, getMaximums, getMinimums, getProducts, getSums, getTerms, getVariables, isContinuous, replaceTerm, simplify, toLinearForm, toQuadraticForm, 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
-
IntegerConstant
public IntegerConstant(int i) Creates a new Integer.- Parameters:
i
- an int.
-
-
Method Details
-
getValue
public int getValue()Get the value of this integer.- Returns:
- the value of this integer.
-
isInteger
-
toString
-