java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.optimisation.scores.ctbn.CTBNBayesianScore
All Implemented Interfaces:
CTBNScoreFunction

public class CTBNBayesianScore extends Object implements CTBNScoreFunction
Implements the Bayesian Dirichlet equivalence metric for CTBNs with nodes that have CIMs (Nodelman et al., 2003).
  • Constructor Details

    • CTBNBayesianScore

      public CTBNBayesianScore()
  • Method Details

    • compute

      public double compute(CTBN<? extends Node> ctbn)
      Description copied from interface: CTBNScoreFunction
      Computes the score for a continuous-time Bayesian network.
      Specified by:
      compute in interface CTBNScoreFunction
      Parameters:
      ctbn - a continuous-time Bayesian network
      Returns:
      score
    • compute

      public double compute(CTBN<? extends Node> ctbn, int nodeIndex)
      Description copied from interface: CTBNScoreFunction
      Computes the score of a continuous-time Bayesian network at a given node.
      Specified by:
      compute in interface CTBNScoreFunction
      Parameters:
      ctbn - a continuous-time Bayesian network
      nodeIndex - node index
      Returns:
      score
    • getIdentifier

      public String getIdentifier()
      Description copied from interface: CTBNScoreFunction
      Gets an identifier for the score function.
      Specified by:
      getIdentifier in interface CTBNScoreFunction
      Returns:
      identifier for the score function.
    • getNamePenalisationFunction

      public String getNamePenalisationFunction()
      Description copied from interface: CTBNScoreFunction
      Gets the name of the penalisation applied (if any) to the score function.
      Specified by:
      getNamePenalisationFunction in interface CTBNScoreFunction
      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 interface CTBNScoreFunction
      Returns:
      true if the score is decomposable, false otherwise