RBNLearning
Class GradientGraphConvCombNode
java.lang.Object
RBNLearning.GradientGraphNode
RBNLearning.GradientGraphProbFormNode
RBNLearning.GradientGraphConvCombNode
public class GradientGraphConvCombNode
- extends GradientGraphProbFormNode
In a GradientGraphConvCombNode the children vector has exactly
3 elements, one for each of the three subformulas
An element is set to null if the formula does not actually
need to be contained in this vector.
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GradientGraphConvCombNode
public GradientGraphConvCombNode(GradientGraph gg,
ProbForm pf,
java.util.Hashtable allnodes,
RelStruc A,
Instantiation data)
throws RBNCompatibilityException
- pf must be a ground ProbForm !
- Throws:
RBNCompatibilityException
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