Module es.upm.fi.cig.multictbnc
Class CTBNBayesianScore
java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.optimisation.scores.ctbn.CTBNBayesianScore
- All Implemented Interfaces:
CTBNScoreFunction
Implements the Bayesian Dirichlet equivalence metric for CTBNs with nodes that have CIMs (Nodelman et al., 2003).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Computes the score for a continuous-time Bayesian network.double
Computes the score of a continuous-time Bayesian network at a given node.Gets an identifier for the score function.Gets the name of the penalisation applied (if any) to the score function.boolean
Determines if the score is decomposable.
-
Constructor Details
-
CTBNBayesianScore
public CTBNBayesianScore()
-
-
Method Details
-
compute
Description copied from interface:CTBNScoreFunction
Computes the score for a continuous-time Bayesian network.- Specified by:
compute
in interfaceCTBNScoreFunction
- Parameters:
ctbn
- a continuous-time Bayesian network- Returns:
- score
-
compute
Description copied from interface:CTBNScoreFunction
Computes the score of a continuous-time Bayesian network at a given node.- Specified by:
compute
in interfaceCTBNScoreFunction
- Parameters:
ctbn
- a continuous-time Bayesian networknodeIndex
- node index- Returns:
- score
-
getIdentifier
Description copied from interface:CTBNScoreFunction
Gets an identifier for the score function.- Specified by:
getIdentifier
in interfaceCTBNScoreFunction
- Returns:
- identifier for the score function.
-
getNamePenalisationFunction
Description copied from interface:CTBNScoreFunction
Gets the name of the penalisation applied (if any) to the score function.- Specified by:
getNamePenalisationFunction
in interfaceCTBNScoreFunction
- Returns:
- name of the penalisation applied to the score function
-
isDecomposable
public boolean isDecomposable()Description copied from interface:CTBNScoreFunction
Determines if the score is decomposable.- Specified by:
isDecomposable
in interfaceCTBNScoreFunction
- Returns:
- true if the score is decomposable, false otherwise
-