RBNLearning
Class GradientGraphNode

java.lang.Object
  extended by RBNLearning.GradientGraphNode
Direct Known Subclasses:
GradientGraphLikelihoodNode, GradientGraphProbFormNode

public abstract class GradientGraphNode
extends java.lang.Object


Constructor Summary
GradientGraphNode(GradientGraph gg)
           
 
Method Summary
abstract  double evaluate(int sno)
          Evaluate this GradientGraphNode using current values of parameters and the sno'th sampled truth value for unobserved atoms
abstract  double evaluateGrad(int param, int sno)
           
 java.lang.Double[] gradient()
           
abstract  java.lang.String name()
          The name of this node.
abstract  java.lang.String name(RelStruc A)
           
 void resetGradient()
           
 void resetValue()
           
 double value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientGraphNode

public GradientGraphNode(GradientGraph gg)
Method Detail

evaluate

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


evaluateGrad

public abstract double evaluateGrad(int param,
                                    int sno)

name

public abstract java.lang.String name()
The name of this node. The name identifies the function represented by a node.


name

public abstract java.lang.String name(RelStruc A)

value

public double value()

gradient

public java.lang.Double[] gradient()

resetValue

public void resetValue()

resetGradient

public void resetGradient()