Namespace HAPI
Classes
AbsExpression
Expression class representing the abs function.
AddExpression
Expression class representing the + operator.
AggregateExpression
Expression class representing the aggregate operator.
AndExpression
Expression class representing the Boolean and function.
Attribute
Attributes can be used to associate arbitrary data with a node or a NetworkModel (i.e., a Class or a Domain).
BetaDistribution
Expression class representing the Beta distribution function.
BinomialDistribution
Expression class representing the Binomial distribution
function.
BooleanDCNode
Boolean chance node. A BooleanDCNode has states false
and true.
BooleanDDNode
Boolean decision node. A BooleanDDNode has states
false and true.
BooleanDFNode
Boolean function node. A BooleanDFNode has states
false and true.
BooleanExpression
A Boolean constant expression is used to compare state values of Boolean discrete chance or decision nodes.
CeilExpression
Expression class representing the ceil function.
Class
Instances of the Class class represent object-oriented Bayesian networks and influence diagrams.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
ClassCollection
Classes are grouped into ClassCollections.
ClassList
Lists of Classes are represented as ClassList's.
Clique
Represents the cliques in the JunctionTree.
CliqueList
Lists of Cliques are represented as CliqueList's.
CompositeExpression
The ancestor class of all composite expression (for example arithmetic operators or standard distribution functions).
ConstantExpression
The ancestor of all expression classes representing a constant (label, number, or Boolean).
ContinuousChanceNode
Represents continuous chance nodes with (conditional) Gaussian distributions.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
CosExpression
Expression class representing the cos function.
CoshExpression
Expression class representing the cosh function.
DataSet
The DataSet class. This class represents a data set as a "matrix" with cases as rows and variables as columns.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
DefaultClassParseListener
Provides a simple implementation of the ClassParseListener class.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
DiscreteChanceNode
The discrete chance node class. Base class for all discrete chance nodes.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
DiscreteDecisionNode
The discrete decision node class. Base class for all decision nodes.
DiscreteFunctionNode
The DiscreteFunctionNode class. Base class for all discrete function nodes.
DiscreteNode
The discrete node class. Base class for all discrete nodes.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
DistributionDistribution
Expression class representing the Distribution
distribution function. This class can be used for specifying
arbitrary distributions for DiscreteChanceNodes.
DivideExpression
Expression class representing the / operator.
Domain
Instances of the Domain class represent Bayesian networks and influence diagrams in which you can propagate evidence and calculate updated beliefs and expected utilities.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
EqualsExpression
Expression class representing the == operator.
ExceptionArgumentNotAlive
The ExceptionArgumentNotAlive class...
ExceptionBadKBFormat
The ExceptionBadKBFormat class...
ExceptionBadKBPassword
The ExceptionBadKBPassword class...
ExceptionBadKBVersion
The ExceptionBadKBVersion class...
ExceptionCGEvidenceIncorporated
The ExceptionCGEvidenceIncorporated class...
ExceptionCGLIMIDsNotSupported
The ExceptionCGLIMIDsNotSupported class...
ExceptionCaseStateTooLarge
The ExceptionCaseStateTooLarge class...
ExceptionChainGraph
The ExceptionChainGraph class...
ExceptionCompressed
The ExceptionCompressed class...
ExceptionComputationFailed
The ExceptionComputationFailed class...
ExceptionCyclicFunctionalDependency
The ExceptionCyclicFunctionalDependency class...
ExceptionCyclicInstanceHierarchy
The ExceptionCyclicInstanceHierarchy class...
ExceptionCyclicNetwork
The ExceptionCyclicNetwork class...
ExceptionDemo
The ExceptionDemo class...
ExceptionDivisionByZero
The ExceptionDivisionByZero class...
ExceptionEnumeration
The ExceptionEnumeration class...
ExceptionError
The ExceptionError class...
ExceptionExpiredLicense
An ExceptionExpiredLicense exception is thrown if the Hugin software detects that the time limited license has expired.
ExceptionFastRetraction
The ExceptionFastRetraction class...
ExceptionFunctionalDependency
The ExceptionFunctionalDependency class...
ExceptionHugin
The ExceptionHugin class. Each exception implemented in the Hugin .NET Interface is a subclass of ExceptionHugin.
ExceptionIO
The ExceptionIO class...
ExceptionIllegalBinding
The ExceptionIllegalBinding class...
ExceptionInappropriateArguments
The ExceptionInappropriateArguments class...
ExceptionInconsistencyOrUnderflow
The ExceptionInconsistencyOrUnderflow class...
ExceptionInsufficientStateRange
The ExceptionInsufficientStateRange class...
ExceptionInvalidEvidence
The ExceptionInvalidEvidence class...
ExceptionInvalidExpression
The ExceptionInvalidExpression class...
ExceptionInvalidLicense
The ExceptionInvalidLicense class...
ExceptionInvalidName
The ExceptionInvalidName class...
ExceptionInvalidProbabilityPotential
The ExceptionInvalidProbabilityPotential class...
ExceptionInvalidStateValues
The ExceptionInvalidStateValues class...
ExceptionLocale
The ExceptionLocale class...
ExceptionLowDensity
The ExceptionLowDensity class...
ExceptionMemory
The ExceptionMemory class...
ExceptionNoEquilibrium
The ExceptionNoEquilibrium class...
ExceptionNoValue
The ExceptionNoValue class...
ExceptionNormalization
The ExceptionNormalization class...
ExceptionNotCompiled
The ExceptionNotCompiled class...
ExceptionObjectNotAlive
The ExceptionObjectNotAlive class...
ExceptionOverflow
The ExceptionOverflow class...
ExceptionParse
The ExceptionParse class...
ExceptionRounding
The ExceptionRounding class...
ExceptionSizeTooLarge
The ExceptionSizeTooLarge class...
ExceptionSyntax
The ExceptionSyntax class...
ExceptionTableTooLarge
The ExceptionTableTooLarge class...
ExceptionTwice
The ExceptionTwice class...
ExceptionUsage
The ExceptionUsage class...
ExceptionZeroVariance
The ExceptionZeroVariance class...
ExpExpression
Expression class representing the exp function.
ExponentialDistribution
Expression class representing the Exponential
distribution function.
Expression
The Expression class is the base of all expression
classes.
ExpressionList
Lists of Expressions are represented as ExpressionList's.
FloorExpression
Expression class representing the floor function.
FunctionNode
A FunctionNode represents a real-valued function. This function is specified using expressions (which may refer to the values of the parents) in a Model.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
GammaDistribution
Expression class representing the Gamma distribution function.
GeometricDistribution
Expression class representing the Geometric
distribution function.
GreaterThanExpression
Expression class representing the > operator.
GreaterThanOrEqualsExpression
Expression class representing the >= operator.
IfExpression
Expression class representing the
if(cond-expr,true-expr,false-expr) function.
InstanceNode
InstanceNodes are the key building block of object-oriented Bayesian networks and influence diagrams.
IntervalDCNode
Interval discrete chance node. Each state of an IntervalDCNode represents an interval.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
IntervalDDNode
Interval discrete decision node. Each state of an IntervalDDNode represents an interval.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
IntervalDFNode
Interval discrete function node. Each state of an IntervalDFNode represents an interval.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
JunctionTree
Thic class represents the JunctionTrees in the compiled domain.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
JunctionTreeList
Lists of JunctionTrees are represented as JunctionTreeList's.
LabelExpression
A label constant expression is used to compare state labels of labelled discrete chance nodes or decision nodes.
LabelledDCNode
Labelled discrete chance node. This is the kind of DiscreteChanceNode most often used.
LabelledDDNode
Labelled discrete decision node. This is the kind of DiscreteDecisionNode most oftenly used.
LabelledDFNode
Labelled discrete function node.
LessThanExpression
Expression class representing the less than operator.
LessThanOrEqualsExpression
Expression class representing the less than or equals operator.
Log10Expression
Expression class representing the log10 function.
Log2Expression
Expression class representing the log2 function.
LogExpression
Expression class representing the log function.
LogNormalDistribution
Expression class representing the LogNormal
distribution function.
MaxExpression
Expression class representing the max function.
MinExpression
Expression class representing the min function.
ModExpression
Expression class representing the mod function.
Model
A Model is a compact description of a table. A model consists of a list of discrete nodes and a set of expressions (one expression per configuration of states of the nodes).
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
MultiplyExpression
Expression class representing the * operator.
NegateExpression
Expression class representing the unary - operator.
NegativeBinomialDistribution
Expression class representing the NegativeBinomial
distribution function.
NetworkModel
The NetworkModel class is an abstract class with two subclasses: Domain and Class.
Node
Nodes are the fundamental objects used in the construction of Bayesian networks and influence diagrams.
NodeExpression
An expression representing a node.
NodeList
Lists of Nodes are represented as objects of type NodeList.
NoisyOrDistribution
Expression class representing the NoisyOr distribution
function.
NormalDistribution
Expression class representing the Normal distribution
function. This is also known as the Gaussian distribution.
NotEqualsExpression
Expression class representing the != operator.
NotExpression
Expression class representing the Boolean not function.
NumberExpression
A numeric constant expression is used to compare state value of numbered or interval discrete chance nodes or decision nodes.
NumberedDCNode
Numbered discrete chance node.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
NumberedDDNode
Numbered discrete decision node.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
NumberedDFNode
Numbered discrete function node.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
OrExpression
Expression class representing the Boolean or function.
PERTDistribution
Expression class representing the PERT distribution
function. A PERT distribution is a Beta distribution
specified by the minimum, the most likely (also known as the
mode), and the maximum value of the distribution.
PoissonDistribution
Expression class representing the Poisson distribution function.
PowerExpression
Expression class representing the ^ operator.
ProbabilityExpression
Expression class representing the probability function.
QuantileExpression
Expression class representing the quantile function.
SinExpression
Expression class representing the sin function.
SinhExpression
Expression class representing the sinh function.
SqrtExpression
Expression class representing the sqrt function.
StateIndexExpression
Expression class representing the unary # operator.
SubtractExpression
Expression class representing the binary - operator.
Table
Hugin uses Tables for representing the conditional probability and utility potentials of individual Nodes, the probability and utility potentials on separators and Cliques of JunctionTrees, evidence potentials, etc.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
TanExpression
Expression class representing the tan function.
TanhExpression
Expression class representing the tanh function.
TriangularDistribution
Expression class representing the Triangular
distribution function.
TruncateExpression
Expression class representing the truncate function.
UniformDistribution
Expression class representing the Uniform distribution
function.
UtilityNode
A UtilityNode represents a utility function. The utility function can depend on discrete chance and decision Nodes.
VarianceExpression
Expression class representing the variance function.
WeibullDistribution
Expression class representing the Weibull distribution
function.
Interfaces
ClassParseListener
An implementation of the ClassParseListener interface must be used when one wants to call the ParseClasses(string, ClassParseListener) method of the ClassCollection class.
NumericDiscreteNode
Interface implemented by NumberedDCNode, IntervalDCNode, NumberedDDNode, and IntervalDDNode.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5/.NET 6 API.
ParseListener
The ParseListener interface is a general interface for handling errors while parsing Hugin NET files, Hugin case files, Hugin data files, files of node names, and strings representing Expressions.
Note: Return and argument types for methods in this class vary depending on the particular API DLL (x86/x64 platform, single/double precision) being used. Please read the section Using the Hugin C#/.NET Core/.NET 5 API.
Enums
Domain.Equilibrium
The Equilibrium enum represents the equilibrium state of this Domain.
Domain.EvidenceMode
The EvidenceMode class represents the mode used for propagating evidence in this Domain.
Domain.TriangulationMethod
The TriangulationMethod class represents the triangulation method used for this Domain.
Expression.Operator
An enumeration type listing all possible expression operators, including statistical distributions.
NetworkModel.Constraint
The Constraint enum is used to represent domain knowledge about possible edges between a pair of variables.
Node.Category
The Category class represents a classification of the Nodes of Classes and Domains.
Node.Kind
The Kind class represents a classification of the Nodes of Classes and Domains.