Module es.upm.fi.cig.multictbnc
Interface BNScoreFunction
- All Known Implementing Classes:
BNBayesianScore
,BNLogLikelihood
public interface BNScoreFunction
Interface used to define scores for Bayesian networks.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Computes the score of a Bayesian network.Gets an identifier for the score function.Gets the name of the penalisation applied (if any) to the score function.
-
Method Details
-
compute
Computes the score of a Bayesian network.- Parameters:
bn
- a Bayesian network- 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
-