public class PlBeliefSet extends net.sf.tweety.commons.BeliefSet<PropositionalFormula>
| Constructor and Description |
|---|
PlBeliefSet()
Creates a new (empty) knowledge base.
|
PlBeliefSet(Collection<? extends PropositionalFormula> formulas)
Creates a new knowledge base with the given
set of formulas.
|
| Modifier and Type | Method and Description |
|---|---|
Set<PlBeliefSet> |
getMinimalInconsistentSubsets()
Returns the set of minimal inconsistent subsets of this set.
|
net.sf.tweety.commons.Signature |
getSignature() |
boolean |
isConsistent()
Checks whether this belief set is consistent.
|
Conjunction |
toCnf()
This method returns this belief set in conjunctive normal form (CNF).
|
add, addAll, clear, contains, containsAll, equals, hashCode, instantiateSet, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, spliterator, streampublic PlBeliefSet()
public PlBeliefSet(Collection<? extends PropositionalFormula> formulas)
formulas - a set of formulas.public boolean isConsistent()
public Set<PlBeliefSet> getMinimalInconsistentSubsets()
public net.sf.tweety.commons.Signature getSignature()
getSignature in interface net.sf.tweety.commons.BeliefBasegetSignature in class net.sf.tweety.commons.BeliefSet<PropositionalFormula>public Conjunction toCnf()
Copyright © 2016. All rights reserved.