Hugin .NET API version 8.6 (x64 single)
Computes Bayes factor data for all (nonempty) subsets of evidence nodes up to the specified maximum size.
public void ComputeExplanationData(size_t x, DiscreteNode Y, size_t y, size_t maxSubsetSize)
Syntax
C# | Visual Basic | Managed C++ |
public void ComputeExplanationData ( ulong x, DiscreteNode Y, ulong y, ulong maxSubsetSize )
Public Sub ComputeExplanationData ( _ x As ULong, _ Y As DiscreteNode, _ y As ULong, _ maxSubsetSize As ULong _ )
public: void ComputeExplanationData ( unsigned long long x, DiscreteNode^ Y, unsigned long long y, unsigned long long maxSubsetSize )
Parameters
- x (UInt64)
- state of the primary hypothesis node (this node)
- Y (DiscreteNode)
- the alternative hypothesis node
- y (UInt64)
- state of the alternative hypothesis node
- maxSubsetSize (UInt64)
- data for all subsets of evidence nodes up to this size are computed
Remarks
Two hypotheses are compared: (this node)=x and Y=y. For each subset of evidence nodes
(up to the specified maximum size), the Bayes factor (the support for the first hypothesis
relative to the second hypothesis) is computed. The results of the computations can be accessed
using GetExplanation(UInt64) and GetExplanationScore(UInt64).
Exceptions
Exception | Condition |
---|---|
ExceptionHugin |
Assembly: hugincs-8.6-2.0-x64 (Module: hugincs-8.6-2.0-x64)