Class AbstractBeliefSetConsistencyTester<T extends Formula>
java.lang.Object
org.tweetyproject.logics.commons.analysis.AbstractBeliefSetConsistencyTester<T>
- Type Parameters:
- T- The type of formulas in the belief set
- All Implemented Interfaces:
- BeliefSetConsistencyTester<T>,- ConsistencyTester<BeliefSet<T,- ?>> 
- Direct Known Subclasses:
- PclDefaultConsistencyTester
public abstract class AbstractBeliefSetConsistencyTester<T extends Formula>
extends Object
implements BeliefSetConsistencyTester<T>
Classes extending this abstract class are capable of testing
 whether a given belief set is consistent.
- Author:
- Matthias Thimm
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleanisConsistent(Collection<T> formulas) Checks whether the given collection of formulas is consistent.booleanisConsistent(BeliefSet<T, ?> beliefSet) Checks whether the given belief base is consistent.booleanisConsistent(T formula) Checks whether the given formula is consistent.
- 
Constructor Details- 
AbstractBeliefSetConsistencyTesterpublic AbstractBeliefSetConsistencyTester()
 
- 
- 
Method Details- 
isConsistentDescription copied from interface:ConsistencyTesterChecks whether the given belief base is consistent.- Specified by:
- isConsistentin interface- BeliefSetConsistencyTester<T extends Formula>
- Specified by:
- isConsistentin interface- ConsistencyTester<T extends Formula>
- Parameters:
- beliefSet- a belief base.
- Returns:
- "true" iff the given belief base is consistent.
 
- 
isConsistentDescription copied from interface:BeliefSetConsistencyTesterChecks whether the given formula is consistent.- Specified by:
- isConsistentin interface- BeliefSetConsistencyTester<T extends Formula>
- Parameters:
- formula- a formulas.
- Returns:
- "true" iff the formula is consistent.
 
- 
isConsistentDescription copied from interface:BeliefSetConsistencyTesterChecks whether the given collection of formulas is consistent.- Specified by:
- isConsistentin interface- BeliefSetConsistencyTester<T extends Formula>
- Parameters:
- formulas- a collection of formulas.
- Returns:
- "true" iff the given collection of formulas is consistent.
 
 
-