Class MarkovLogicNetwork
java.lang.Object
org.tweetyproject.commons.BeliefSet<MlnFormula,FolSignature>
org.tweetyproject.logics.mln.syntax.MarkovLogicNetwork
- All Implemented Interfaces:
Serializable
,Iterable<MlnFormula>
,Collection<MlnFormula>
,BeliefBase
Instances of this class represent Markov Logic Networks [Domingos et. al.].
- Author:
- Matthias Thimm
- See Also:
-
Field Summary
Fields inherited from class org.tweetyproject.commons.BeliefSet
EQUALS_USES_SIGNATURE
-
Constructor Summary
ConstructorDescriptionCreates 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 TypeMethodDescriptionReturns the signature of the language of this knowledge base.Methods inherited from class org.tweetyproject.commons.BeliefSet
add, add, addAll, clear, contains, containsAll, equals, getSignature, hashCode, isEmpty, iterator, remove, removeAll, retainAll, setSignature, size, toArray, toArray, toString, toString
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
MarkovLogicNetwork
public MarkovLogicNetwork()Creates a new (empty) MLN. -
MarkovLogicNetwork
Creates a new conditional MLN with the given collection of MLN formulas.- Parameters:
formulas
- a collection of MLN formulas.
-
-
Method Details
-
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.
-