Package net.sf.tweety.logics.mln.syntax
Class MarkovLogicNetwork
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSet<MlnFormula,FolSignature>
-
- net.sf.tweety.logics.mln.syntax.MarkovLogicNetwork
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<MlnFormula>
,java.util.Collection<MlnFormula>
,BeliefBase
public class MarkovLogicNetwork extends BeliefSet<MlnFormula,FolSignature> implements java.io.Serializable
Instances of this class represent Markov Logic Networks [Domingos et. al.].- Author:
- Matthias Thimm
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.tweety.commons.BeliefSet
EQUALS_USES_SIGNATURE
-
-
Constructor Summary
Constructors Constructor Description MarkovLogicNetwork()
Creates a new (empty) MLN.MarkovLogicNetwork(java.util.Collection<? extends MlnFormula> formulas)
Creates a new conditional MLN with the given collection of MLN formulas.
-
Method Summary
Modifier and Type Method Description Signature
getMinimalSignature()
Returns the signature of the language of this knowledge base.-
Methods inherited from class net.sf.tweety.commons.BeliefSet
add, add, addAll, clear, contains, containsAll, equals, getSignature, hashCode, isEmpty, iterator, remove, removeAll, retainAll, setSignature, size, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
MarkovLogicNetwork
public MarkovLogicNetwork()
Creates a new (empty) MLN.
-
MarkovLogicNetwork
public MarkovLogicNetwork(java.util.Collection<? extends MlnFormula> formulas)
Creates a new conditional MLN with the given collection of MLN formulas.- Parameters:
formulas
- a collection of MLN formulas.
-
-
Method Detail
-
getMinimalSignature
public Signature getMinimalSignature()
Description copied from interface:BeliefBase
Returns the signature of the language of this knowledge base.- Specified by:
getMinimalSignature
in interfaceBeliefBase
- Returns:
- the signature of the language of this knowledge base.
-
-