Package net.sf.tweety.logics.mln.syntax
Class MarkovLogicNetwork
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSet<MlnFormula,net.sf.tweety.logics.fol.syntax.FolSignature>
-
- net.sf.tweety.logics.mln.syntax.MarkovLogicNetwork
-
- All Implemented Interfaces:
Serializable,Iterable<MlnFormula>,Collection<MlnFormula>,net.sf.tweety.commons.BeliefBase
public class MarkovLogicNetwork extends net.sf.tweety.commons.BeliefSet<MlnFormula,net.sf.tweety.logics.fol.syntax.FolSignature> implements Serializable
Instances of this class represent Markov Logic Networks [Domingos et. al.].- Author:
- Matthias Thimm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MarkovLogicNetwork()Creates a new (empty) MLN.MarkovLogicNetwork(Collection<? extends MlnFormula> formulas)Creates a new conditional MLN with the given collection of MLN formulas.
-
Method Summary
Modifier and Type Method Description net.sf.tweety.commons.SignaturegetMinimalSignature()protected net.sf.tweety.logics.fol.syntax.FolSignatureinstantiateSignature()-
Methods inherited from class net.sf.tweety.commons.BeliefSet
add, add, addAll, clear, contains, containsAll, equals, getSignature, hashCode, instantiateSet, isEmpty, iterator, remove, removeAll, retainAll, setSignature, size, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Constructor Detail
-
MarkovLogicNetwork
public MarkovLogicNetwork()
Creates a new (empty) MLN.
-
MarkovLogicNetwork
public MarkovLogicNetwork(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 net.sf.tweety.commons.Signature getMinimalSignature()
- Specified by:
getMinimalSignaturein interfacenet.sf.tweety.commons.BeliefBase
-
instantiateSignature
protected net.sf.tweety.logics.fol.syntax.FolSignature instantiateSignature()
- Specified by:
instantiateSignaturein classnet.sf.tweety.commons.BeliefSet<MlnFormula,net.sf.tweety.logics.fol.syntax.FolSignature>
-
-