All Known Implementing Classes:
BNBayesianScore, BNLogLikelihood

public interface BNScoreFunction
Interface used to define scores for Bayesian networks.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    compute(BN<? extends Node> bn)
    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

      double compute(BN<? extends Node> bn)
      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