|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.resmng.data.NodeEvaluationConstant
public class NodeEvaluationConstant
The evaluation function which returns a constant.
Field Summary | |
---|---|
protected double |
constantValue
The value used as the constant when evaluating the function. |
(package private) static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
---|---|
NodeEvaluationConstant(double constantValue)
Initialise the evaluation function to be a constant. |
Method Summary | |
---|---|
double |
getScore(java.lang.Object attributeValue)
The return value of the function is always the value set at initialisation as the constant. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static org.apache.log4j.Logger logger
protected double constantValue
Constructor Detail |
---|
public NodeEvaluationConstant(double constantValue)
constantValue
- The value the function will return regardless
of the parameter value.Method Detail |
---|
public double getScore(java.lang.Object attributeValue)
getScore
in interface INodeEvaluation
attributeValue
- The value of the attribute to be evaluated, or
null if
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |