RBNLearning
Class GradientGraphProbFormNode

java.lang.Object
  extended by RBNLearning.GradientGraphNode
      extended by RBNLearning.GradientGraphProbFormNode
Direct Known Subclasses:
GradientGraphCombFuncNode, GradientGraphConstantNode, GradientGraphConvCombNode, GradientGraphIndicatorNode

public abstract class GradientGraphProbFormNode
extends GradientGraphNode


Field Summary
protected  boolean[] dependsOnParam
          dependsOnParam[i] is true if the probform of this node depends on the i'th parameter, as given by the order defined by gg
 
Constructor Summary
GradientGraphProbFormNode(GradientGraph gg, ProbForm pf, RelStruc A, Instantiation data)
           
 
Method Summary
static GradientGraphProbFormNode constructGGPFN(GradientGraph gg, ProbForm pf, java.util.Hashtable allnodes, RelStruc A, Instantiation data)
           
 boolean dependsOn(int param)
           
 java.lang.String name()
          The name of this node.
 java.lang.String name(RelStruc A)
           
 
Methods inherited from class RBNLearning.GradientGraphNode
evaluate, evaluateGrad, gradient, resetGradient, resetValue, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dependsOnParam

protected boolean[] dependsOnParam
dependsOnParam[i] is true if the probform of this node depends on the i'th parameter, as given by the order defined by gg

Constructor Detail

GradientGraphProbFormNode

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

constructGGPFN

public static GradientGraphProbFormNode constructGGPFN(GradientGraph gg,
                                                       ProbForm pf,
                                                       java.util.Hashtable allnodes,
                                                       RelStruc A,
                                                       Instantiation data)
                                                throws java.lang.RuntimeException,
                                                       RBNCompatibilityException
Throws:
java.lang.RuntimeException
RBNCompatibilityException

name

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

Specified by:
name in class GradientGraphNode

name

public java.lang.String name(RelStruc A)
Specified by:
name in class GradientGraphNode

dependsOn

public boolean dependsOn(int param)