Classes
The following classes are available globally.
-
Instances of the
See moreClassclass represent object-oriented Bayesian networks and LIMIDs. Such an instance can contain nodes representing instances of other network classes and so on. To use an instance (i.e., propagate evidence and calculate updated beliefs and expected utilities), it must first be unfolded to a plain Bayesian network or LIMID. TheDomain.init(Class)andDomain.init(Class,Int)methods handle this.Declaration
Swift
public class Class : Network -
Classes are grouped into
ClassCollections. Each class must belong to exactly oneClassCollection. AClassCollectioncan be considered a closed world of interdependent classes (i.e., Bayesian networks and LIMIDs). That is, each class may contain instances of other classes of theClassCollection, but not of classes of otherClassCollections.
See moreClassCollectionobjects are automatically deallocated when the last reference to the object disappears. When this happens, all objects “owned” by theClassCollectionobject (such as member classes and nodes in those classes) are deleted, so make sure to hold on to theClassCollectionobject until it is no longer needed.Declaration
Swift
public class ClassCollection -
Represents the cliques of a JunctionTree.
See moreDeclaration
Swift
public class Clique -
The
See moreDataSetclass. This class represents a data set as a “matrix” with cases as rows and variables as columns.Declaration
Swift
public class DataSet -
Instances of the
Domainclass represent Bayesian networks and LIMIDs in which you can propagate evidence and calculate updated beliefs and expected utilities.
See moreDomainobjects are automatically deallocated when the last reference to the object disappears. When this happens, all objects “owned” by theDomainobject (such asNodeobjects) are deleted, so make sure to hold on to theDomainobject until it is no longer needed.Declaration
Swift
public class Domain : Network -
Thic class represents the junction trees of a compiled domain.
See moreDeclaration
Swift
public class JunctionTree -
The
See moreLicenseclass. This class represents license information. ALicenseobject can be passed to (some)DomainandClassCollectioninitializers in order to verify the license. Alternatively, the license information can be retrieved from a file.Declaration
Swift
public class License -
A
See moreModelis 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.Declaration
Swift
public class Model -
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.A potential is a function from the state space of a set of variables into the set of real numbers. A
See moreTableis a representation of a potential.Declaration
Swift
public class Table
Classes Reference