Package net.sf.tweety.logics.pcl.syntax
Class PclBeliefSet
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSet<ProbabilisticConditional,PlSignature>
-
- net.sf.tweety.logics.pcl.syntax.PclBeliefSet
-
- All Implemented Interfaces:
java.lang.Iterable<ProbabilisticConditional>
,java.util.Collection<ProbabilisticConditional>
,BeliefBase
public class PclBeliefSet extends BeliefSet<ProbabilisticConditional,PlSignature>
This class models a belief set on probabilistic conditional logic, i.e. a set of probabilistic conditionals.- Author:
- Matthias Thimm
-
-
Field Summary
-
Fields inherited from class net.sf.tweety.commons.BeliefSet
EQUALS_USES_SIGNATURE, signature
-
-
Constructor Summary
Constructors Constructor Description PclBeliefSet()
Creates a new (empty) conditional belief set.PclBeliefSet(java.util.Collection<? extends ProbabilisticConditional> conditionals)
Creates a new conditional belief set with the given collection of conditionals.
-
Method Summary
Modifier and Type Method Description Signature
getMinimalSignature()
Returns the signature of the language of this knowledge base.protected PlSignature
instantiateSignature()
Instantiates the signature which is attached to the belief base.-
Methods inherited from class net.sf.tweety.commons.BeliefSet
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
-
-
-
-
Constructor Detail
-
PclBeliefSet
public PclBeliefSet()
Creates a new (empty) conditional belief set.
-
PclBeliefSet
public PclBeliefSet(java.util.Collection<? extends ProbabilisticConditional> conditionals)
Creates a new conditional belief set with the given collection of conditionals.- Parameters:
conditionals
- a collection of conditionals.
-
-
Method Detail
-
getMinimalSignature
public Signature getMinimalSignature()
Description copied from interface:BeliefBase
Returns the signature of the language of this knowledge base.- Returns:
- the signature of the language of this knowledge base.
-
instantiateSignature
protected PlSignature instantiateSignature()
Description copied from class:BeliefSet
Instantiates the signature which is attached to the belief base.- Specified by:
instantiateSignature
in classBeliefSet<ProbabilisticConditional,PlSignature>
- Returns:
- the signature of this belief base
-
-