All Known Implementing Classes:
BNHillClimbing, BNHillClimbingHybridAlgorithm, BNTabuSearch, CTBNHillClimbing, CTBNHillClimbingHybridAlgorithm, CTBNHillClimbingIndividual, CTBNTabuSearchIndividual

public interface HillClimbingImplementation
Defines an interface for different implementations of the hill climbing algorithm. These can be implementations for Bayesian networks, continuous time Bayesian networks, decomposable score functions, etc.
  • Method Details

    • findStructure

      HillClimbingSolution findStructure(PGM<? extends Node> pgm)
      Finds a structure for a given PGM.
      Parameters:
      pgm - a probabilistic graphical model
      Returns:
      solution given by the hill climbing algorithm
    • findStructure

      HillClimbingSolution findStructure(PGM<? extends Node> pgm, int idxNode)
      Finds the local structure of a given node of a PGM.
      Parameters:
      pgm - a probabilistic graphical model
      idxNode - node index
      Returns:
      a HillClimbingSolution
    • findStructure

      HillClimbingSolution findStructure(PGM<? extends Node> pgm, List<Integer> idxNodes)
      Finds the local structure of some given nodes of a PGM.
      Parameters:
      pgm - a probabilistic graphical model
      idxNodes - node indexes
      Returns:
      a HillClimbingSolution
    • getIdentifier

      String getIdentifier()
      Returns a unique identifier for the hill climbing-based algorithm.
      Returns:
      unique identifier for the hill climbing-based algorithm
    • getInfoScoreFunction

      Map<String,String> getInfoScoreFunction()
      Returns a Map with the name of the score function that is optimised and the name of the applied penalisation function (if any).
      Returns:
      a Map with the name of the score function that is optimised and the name of the penalisation function that is applied
    • getParametersAlgorithm

      Map<String,String> getParametersAlgorithm()
      Returns the parameters that are used by the hill climbing implementation.
      Returns:
      a Map with the parameters used by the algorithm