RBNLearning
Class GradientGraphConstantNode

java.lang.Object
  extended by RBNLearning.GradientGraphNode
      extended by RBNLearning.GradientGraphProbFormNode
          extended by RBNLearning.GradientGraphConstantNode

public class GradientGraphConstantNode
extends GradientGraphProbFormNode


Field Summary
 
Fields inherited from class RBNLearning.GradientGraphProbFormNode
dependsOnParam
 
Constructor Summary
GradientGraphConstantNode(GradientGraph gg, ProbForm pf, RelStruc A, Instantiation data)
           
 
Method Summary
 double evaluate(int sno)
          Evaluate this GradientGraphNode using current values of parameters and the sno'th sampled truth value for unobserved atoms
 double evaluateGrad(int param, int sno)
           
 java.lang.String paramname()
           
 void setCurrentVal(double cv)
           
 
Methods inherited from class RBNLearning.GradientGraphProbFormNode
constructGGPFN, dependsOn, name, name
 
Methods inherited from class RBNLearning.GradientGraphNode
gradient, resetGradient, resetValue, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientGraphConstantNode

public GradientGraphConstantNode(GradientGraph gg,
                                 ProbForm pf,
                                 RelStruc A,
                                 Instantiation data)
                          throws RBNCompatibilityException
Throws:
RBNCompatibilityException
Method Detail

evaluate

public double evaluate(int sno)
Description copied from class: GradientGraphNode
Evaluate this GradientGraphNode using current values of parameters and the sno'th sampled truth value for unobserved atoms

Specified by:
evaluate in class GradientGraphNode

evaluateGrad

public double evaluateGrad(int param,
                           int sno)
Specified by:
evaluateGrad in class GradientGraphNode

paramname

public java.lang.String paramname()

setCurrentVal

public void setCurrentVal(double cv)