Module es.upm.fi.cig.multictbnc
Interface CTBNScoreFunction
- All Known Implementing Classes:
CTBNBayesianScore
,CTBNConditionalLogLikelihood
,CTBNLogLikelihood
public interface CTBNScoreFunction
Interface used to define scores for continuous-time Bayesian networks.
-
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.
-
Method Details
-
compute
Computes the score for a continuous-time Bayesian network.- Parameters:
ctbn
- a continuous-time Bayesian network- Returns:
- score
-
compute
Computes the score of a continuous-time Bayesian network at a given node.- Parameters:
ctbn
- a continuous-time Bayesian networknodeIndex
- node index- Returns:
- score
-
getIdentifier
String getIdentifier()Gets an identifier for the score function.- Returns:
- identifier for the score function.
-
getNamePenalisationFunction
String getNamePenalisationFunction()Gets the name of the penalisation applied (if any) to the score function.- Returns:
- name of the penalisation applied to the score function
-
isDecomposable
boolean isDecomposable()Determines if the score is decomposable.- Returns:
- true if the score is decomposable, false otherwise
-