| java.lang.Object de.fho.jump.pirol.utilities.FormulaParsing.FormulaValue
All known Subclasses: de.fho.jump.pirol.utilities.FormulaParsing.Operations.SquareRootOperation, de.fho.jump.pirol.utilities.FormulaParsing.Operations.GenericOperation, de.fho.jump.pirol.utilities.FormulaParsing.Values.AttributeValue, de.fho.jump.pirol.utilities.FormulaParsing.Values.ConstantValue,
FormulaValue | abstract public class FormulaValue (Code) | | Base class for each sub-formula or value of a formula, since we don't want to parse the formula again and again for each value...
author: Ole Rahn author:
author: FH Osnabrück - University of Applied Sciences Osnabrück, author: Project: PIROL (2005), author: Subproject: Daten- und Wissensmanagement version: $Rev: 856 $ |
Method Summary | |
abstract public double | getValue(Feature feature) Returns the value (as a double) of this part of the formula. | abstract public boolean | isFeatureDependent() Helps to determine, if the value depends on a feature's attribute value. | public String | toString() |
getValue | abstract public double getValue(Feature feature)(Code) | | Returns the value (as a double) of this part of the formula.
It may be the rsult of a sub-formula, a feature-specific attribute value or just a constant value...
Since the value may depend on a feature, we give the feature to the method to get a unified interface...
value of this part of the formula |
isFeatureDependent | abstract public boolean isFeatureDependent()(Code) | | Helps to determine, if the value depends on a feature's attribute value.
true, if the value depends on a feature |
|
|