RBNLearning
Class GradientGraphProbFormNode
java.lang.Object
RBNLearning.GradientGraphNode
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 |
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 |
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
GradientGraphProbFormNode
public GradientGraphProbFormNode(GradientGraph gg,
ProbForm pf,
RelStruc A,
Instantiation I)
throws RBNCompatibilityException
- Throws:
RBNCompatibilityException
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)