RBNLearning
Class GradientGraphProbFormNode

java.lang.Object
  extended by RBNLearning.GradientGraphNode
      extended by RBNLearning.GradientGraphProbFormNode
All Implemented Interfaces:
java.lang.Comparable<GradientGraphNode>
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 I)
           
 
Method Summary
static GradientGraphProbFormNode constructGGPFN(GradientGraph gg, ProbForm pf, java.util.Hashtable<java.lang.String,GradientGraphNode> allnodes, RelStruc A, Instantiation I, int inputcaseno, int observcaseno)
           
 boolean dependsOn(int param)
           
 double lowerBound()
           
 java.lang.String name()
          The name of this node.
 void resetBounds()
           
 double upperBound()
           
 
Methods inherited from class RBNLearning.GradientGraphNode
addToChildren, addToParents, ancestors, childrenSize, compareTo, equals, evaluate, evaluateBounds, evaluateGrad, gradient, parents, reEvaluateUpstream, 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 I)
                          throws RBNCompatibilityException
Throws:
RBNCompatibilityException
Method Detail

constructGGPFN

public static GradientGraphProbFormNode constructGGPFN(GradientGraph gg,
                                                       ProbForm pf,
                                                       java.util.Hashtable<java.lang.String,GradientGraphNode> allnodes,
                                                       RelStruc A,
                                                       Instantiation I,
                                                       int inputcaseno,
                                                       int observcaseno)
                                                throws java.lang.RuntimeException,
                                                       RBNCompatibilityException
Throws:
java.lang.RuntimeException
RBNCompatibilityException

lowerBound

public double lowerBound()

upperBound

public double upperBound()

resetBounds

public void resetBounds()

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

dependsOn

public boolean dependsOn(int param)