RBNLearning
Class GradientGraphConstantNode
java.lang.Object
RBNLearning.GradientGraphNode
RBNLearning.GradientGraphProbFormNode
RBNLearning.GradientGraphConstantNode
- All Implemented Interfaces:
- java.lang.Comparable<GradientGraphNode>
public class GradientGraphConstantNode
- extends GradientGraphProbFormNode
Methods inherited from class RBNLearning.GradientGraphNode |
addToChildren, addToParents, ancestors, childrenSize, compareTo, equals, gradient, parents, reEvaluateUpstream, resetGradient, resetValue, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GradientGraphConstantNode
public GradientGraphConstantNode(GradientGraph gg,
ProbForm pf,
RelStruc A,
Instantiation data)
throws RBNCompatibilityException
- Throws:
RBNCompatibilityException
evaluate
public double evaluate()
- Description copied from class:
GradientGraphNode
- Evaluate this GradientGraphNode using current values of parameters
and the current instantiation for unobserved atoms. Returns the
value and sets the value field of the node.
If the value is not null, then the this value is assumed to be
the currently correct value, and is returned
- Specified by:
evaluate
in class GradientGraphNode
evaluateBounds
public void evaluateBounds()
- Specified by:
evaluateBounds
in class GradientGraphNode
evaluateGrad
public double evaluateGrad(int param)
- Specified by:
evaluateGrad
in class GradientGraphNode
paramname
public java.lang.String paramname()
setCurrentParamVal
public void setCurrentParamVal(double cv)
getCurrentParamVal
public double getCurrentParamVal()