java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.optimisation.scores.AbstractLikelihood
Direct Known Subclasses:
BNLogLikelihood, CTBNConditionalLogLikelihood, CTBNLogLikelihood

public class AbstractLikelihood extends Object
Abstract class defining common variables and methods for likelihood-based scores.
  • Constructor Details

    • AbstractLikelihood

      public AbstractLikelihood(String penalisationFunction)
      Receives the name of the penalisation function for the structure complexity.
      Parameters:
      penalisationFunction - name of the penalisation function
  • Method Details

    • getNamePenalisationFunction

      public String getNamePenalisationFunction()
      Returns the name of the penalisation function.
      Returns:
      name of the penalisation function
    • getPenalisationFunction

      public DoubleUnaryOperator getPenalisationFunction()
      Returns the name of the penalisation function.
      Returns:
      name of the penalisation function