Hugin .NET API Reference Library
DiscreteDecisionNode Class
Namespaces > HAPI > DiscreteDecisionNode
The discrete decision node class. Base class for all decision nodes.
NOTE: Return and argument types for methods in this class vary depending on the particular API dll (x86/x64 platform, single/double precision). Please read the section Using the Hugin .NET API under R:Project.
Syntax
C#Visual BasicManaged C++
public abstract class DiscreteDecisionNode : DiscreteNode
Public MustInherit Class DiscreteDecisionNode _
	Inherits DiscreteNode
public ref class DiscreteDecisionNode abstract : public DiscreteNode
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
AddParent(Node)
Adds a node as a new parent of this Node.
(Inherited from Node.)
AddToInputs()
Makes this Node become an input node of its Class.
(Inherited from Node.)
AddToOutputs()
Makes this Node become an output node of its Class.
(Inherited from Node.)
Clone()
Clones this node.
(Inherited from Node.)
ComputeExplanationData(UInt64, DiscreteNode, UInt64, UInt64)
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)
(Inherited from DiscreteNode.)
ComputeExplanationData(UInt64, UInt64)
Computes "normalized likelihoods" for the specified hypothesis and all (nonempty) subsets of evidence nodes up to the specified maximum size.
public void ComputeExplanationData(size_t state, size_t maxSubsetSize)
(Inherited from DiscreteNode.)
CreateTemporalClone()
Constructs a temporal clone of this Node object.
(Inherited from Node.)
Delete()
Deletes this Node.
(Inherited from Node.)
EnterFinding(UInt64, Single)
Specifies a state value for a given state with all other states unaffected.
public void EnterFinding(size_t state, h_number_t finding)
(Inherited from DiscreteNode.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EvidenceIsEntered()
Tests if evidence is entered.
(Inherited from Node.)
EvidenceIsPropagated()
Tests if evidence if propagated.
(Inherited from Node.)
EvidenceToPropagate()
Tests if the entered and the propagated evidence differ.
(Inherited from Node.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GenerateTable()
Generates the conditional probability table of this DiscreteNode from its model (a missing model will trigger an ExceptionUsage).
(Inherited from DiscreteNode.)
GetAttribute(String)
Returns the value associated with a particular attribute in the attribute list for this Node.
(Inherited from Node.)
GetAttributes()
Returns a List of attributes associated with this Node.
(Inherited from Node.)
GetBelief(UInt64)
Returns the belief for the specified state of this DiscreteNode.
public h_number_t GetBelief(size_t state)
(Inherited from DiscreteNode.)
GetCategory()
Returns the Category of this Node.
(Overrides DiscreteNode.GetCategory().)
GetChildren()
Returns a NodeList with the child Nodes of this Node.
(Inherited from Node.)
GetEdgeConstraint(Node)
Returns the constraint between this and node.
(Inherited from Node.)
GetEnteredFinding(UInt64)
Returns the entered finding for state of this.
public h_number_t GetEnteredFinding(size_t state)
(Inherited from DiscreteNode.)
GetEntropy()
Computes the entropy of this node.
(Inherited from DiscreteNode.)
GetExpectedUtility(UInt64)
Returns the expected utility associated with the specified action (state).
public h_number_t GetExpectedUtility(size_t state)
(Inherited from DiscreteNode.)
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetHome()
Returns the Class or Domain containing this Node.
(Inherited from Node.)
GetHomeClass()
Returns the Class containing this Node. Returns 'null' if the Node belongs to a Domain.
(Inherited from Node.)
GetHomeDomain()
Returns the Domain containing this Node. Returns 'null' if the Node belongs to a Class.
(Inherited from Node.)
GetInstance()
Returns the InstanceNode containing this (cloned) output node.
(Inherited from Node.)
GetJunctionTree()
Returns the JunctionTree to which this Node belongs.
(Inherited from Node.)
GetKind()
Returns the Kind of this Node.
(Inherited from DiscreteNode.)
GetLabel()
Returns the label of this Node.
(Inherited from Node.)
GetMaster()
Returns the "master" of this (cloned) output Node of an InstanceNode (i.e., the Node cloned to get this output Node).
(Inherited from Node.)
GetModel()
Returns the Model for this Node.
(Inherited from Node.)
GetMutualInformation(DiscreteChanceNode)
Computes the mutual information between this node and the specified node.
(Inherited from DiscreteNode.)
GetName()
Returns the name of this Node.
(Inherited from Node.)
GetNumberOfStates()
Returns the number of states in this node.
public size_t GetNumberOfStates()
(Inherited from DiscreteNode.)
GetParents()
Returns a NodeList with the parent Nodes of this Node.
(Inherited from Node.)
GetPosition()
Returns the position of this Node.
(Inherited from Node.)
GetPredictedBelief(UInt64, UInt64)
Returns the predicted belief for the specified state of this DiscreteNode at the specified time point.
public void h_number_t GetPredictedBelief(size_t state, size_t time)
(Inherited from DiscreteNode.)
GetPropagatedFinding(UInt64)
Returns the propagated finding.
public h_number_t GetPropagatedFinding(size_t state)
(Inherited from DiscreteNode.)
GetRequisiteAncestors()
Returns a NodeList with the requisite parents of this decision node.
GetRequisiteParents()
Returns a NodeList containing the requisite ancestors of this decision node.
GetSampledState()
Returns the state index of this DiscreteChanceNode for the configuration generated by the most recent call to Simulate().
public size_t GetSampledState()
(Inherited from DiscreteNode.)
GetSensitivityConstants(UInt64)
Returns the four constants of the specified sensitivity function.
public h_number_t[] GetSensitivityConstants(size_t index)
(Inherited from DiscreteNode.)
GetSensitivityConstants(UInt64, UInt64)
Returns the four constants of the specified sensitivity function.
public h_number_t[] GetSensitivityConstants(size_t index, size_t output)
(Inherited from DiscreteNode.)
GetSource()
Returns a NodeList of Class nodes that identifies this Domain node.
(Inherited from Node.)
GetStateIndex(String)
Returns the index of the state matching the specified label. If there is no (unique) state with the specified state label, -1 is returned.
public h_index_t GetStateIndex(String label)
(Inherited from DiscreteNode.)
GetStateLabel(UInt64)
Returns the label of the specified state.
public String GetStateLabel(size_t state)
(Inherited from DiscreteNode.)
GetTable()
Returns the table associated with this Node.
(Inherited from Node.)
GetTemporalClone()
Returns the "temporal clone" of this Node.
(Inherited from Node.)
GetTemporalMaster()
Returns the "temporal master" of this Node.
(Inherited from Node.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
GetUserData()
Returns the value stored within the user data slot of this node.
(Inherited from Node.)
IsAlive()
Is this Node object alive?
(Inherited from Node.)
LikelihoodIsEntered()
Tests if the evidence potential, currently registered with this Node, is a likelihood.
(Inherited from Node.)
LikelihoodIsPropagated()
Tests if the evidence potential for this Node, incorporated within the current junction tree potentials, is a likelihood.
(Inherited from Node.)
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoveFromInputs()
Removes this Node from the set of input nodes of its class.
(Inherited from Node.)
RemoveFromOutputs()
Removes this Node from the set of output nodes of its Class.
(Inherited from Node.)
RemoveParent(Node)
Removes the directed link between a parent and this Node.
(Inherited from Node.)
RetractFindings()
Retracts all findings for this node. This is equivalent to setting the finding value to 1 for all states of this node.
(Inherited from DiscreteNode.)
ReverseEdge(Node)
Reverses the edge between this Node and the specified neighbor.
(Inherited from Node.)
SelectState(UInt64)
Selects the specified state of this discrete node.
public void SelectState(size_t state)
(Inherited from DiscreteNode.)
SetAttribute(String, String)
Sets a value for a particular attribute in the attribute list for this Node.
(Inherited from Node.)
SetAttributes(List<(Of Attribute>))
Sets the attributes of this Node to attributes.
(Inherited from Node.)
SetEdgeConstraint(Node, Constraint)
Sets a constraint between this Node and another Node.
(Inherited from Node.)
SetLabel(String)
Sets the label of this Node.
(Inherited from Node.)
SetName(String)
Sets the name of this Node.
(Inherited from Node.)
SetNumberOfStates(UInt64)
Sets the number of states of this.
public void SetNumberOfStates(size_t newNumber)
(Inherited from DiscreteNode.)
SetPosition(Point)
Sets the position of this Node.
(Inherited from Node.)
SetStateLabel(UInt64, String)
Sets the label of the specified state.
public void SetStateLabel(size_t state, String newLabel)
(Inherited from DiscreteNode.)
SetUserData(Object)
Sets some user-defined data for this Node.
(Inherited from Node.)
SwitchParent(Node, Node)
Replace the given parent node with the new node.
(Inherited from Node.)
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
Node
 DiscreteNode
  DiscreteDecisionNode
   NumberedDDNode
   BooleanDDNode
   IntervalDDNode
   LabelledDDNode

Assembly: hugincs-8.6-2.0-x64 (Module: hugincs-8.6-2.0-x64)