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 |
|---|---|
net.sf.tweety.commons.Signature |
getSignature() |
Collection<PlBeliefSet> |
getSyntaxComponents()
Returns the set of syntax components of this belief set, i.e.
|
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 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()
public Collection<PlBeliefSet> getSyntaxComponents()
Copyright © 2018. All rights reserved.