All Known Implementing Classes:
CTBNBayesianScore, CTBNConditionalLogLikelihood, CTBNLogLikelihood

public interface CTBNScoreFunction
Interface used to define scores for continuous-time Bayesian networks.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    compute(CTBN<? extends Node> ctbn)
    Computes the score for a continuous-time Bayesian network.
    double
    compute(CTBN<? extends Node> ctbn, int nodeIndex)
    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

      double compute(CTBN<? extends Node> ctbn)
      Computes the score for a continuous-time Bayesian network.
      Parameters:
      ctbn - a continuous-time Bayesian network
      Returns:
      score
    • compute

      double compute(CTBN<? extends Node> ctbn, int nodeIndex)
      Computes the score of a continuous-time Bayesian network at a given node.
      Parameters:
      ctbn - a continuous-time Bayesian network
      nodeIndex - 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