Module es.upm.fi.cig.multictbnc
Interface StructureLearningAlgorithm
- All Known Implementing Classes:
BNHybridStructureLearningAlgorithm
,CTBNHybridStructureLearningAlgorithm
,CTPC
,CTPCHybridAlgorithm
,FirstChoiceHillClimbing
,HillClimbing
,HITONPC
,MarkovBlanketCTPC
,OnlineMarkovBlanketCTPC
,PC
,PCHybridAlgorithm
,RandomRestartHillClimbing
public interface StructureLearningAlgorithm
Interface used to define algorithms for learning the structure of PGMs.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a unique identifier for the structure learning algorithm.Returns the parameters that are used by the algorithm.void
Learns the structure of a certain PGM.void
Learn the local structure of a certain node of a PGM.void
Learns the local structure of certain nodes of a PGM.
-
Method Details
-
getIdentifier
String getIdentifier()Returns a unique identifier for the structure learning algorithm.- Returns:
- unique identifier for the structure learning algorithm
-
getParametersAlgorithm
Returns the parameters that are used by the algorithm.- Returns:
- a
Map
with the parameters used by the algorithm
-
learn
Learns the local structure of certain nodes of a PGM.- Parameters:
pgm
- a probabilistic graphical modelidxNodes
- node indexes- Throws:
ErroneousValueException
- if a parameter provided is invalid for the requested task
-
learn
Learns the structure of a certain PGM.- Parameters:
pgm
- a probabilistic graphical model- Throws:
ErroneousValueException
- if a parameter provided is invalid for the requested task
-
learn
Learn the local structure of a certain node of a PGM.- Parameters:
pgm
- a probabilistic graphical modelidxNode
- node index
-