Package net.sf.tweety.math.term
Class FloatConstant
- java.lang.Object
-
- net.sf.tweety.math.term.Term
-
- net.sf.tweety.math.term.Constant
-
- net.sf.tweety.math.term.FloatConstant
-
public class FloatConstant extends Constant
This class encapsulates a float as a term.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description FloatConstant(double f)
Creates a new Float.FloatConstant(float f)
Creates a new Float.
-
Method Summary
-
Methods inherited from class net.sf.tweety.math.term.Constant
collapseAssociativeOperations, derive, expandAssociativeOperations, getAbsoluteValues, getMaximums, getMinimums, getProducts, getVariables, isContinuous, replaceTerm, simplify, toLinearForm, value
-
Methods inherited from class net.sf.tweety.math.term.Term
add, doubleValue, evaluateMatrix, evaluateVector, evaluateVector, isContinuous, isLinear, min, minus, mult, replaceAllTerms, replaceAllTerms
-
-
-
-
Method Detail
-
getValue
public double getValue()
Get the value of this float.- Returns:
- the value of this float.
-
isInteger
public boolean isInteger()
Description copied from class:Term
Checks whether this term represents an integer value.
-
-