|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection java.util.AbstractSet java.util.HashSet java.util.LinkedHashSet orbital.moon.logic.resolution.ClausalSetImpl
public class ClausalSetImpl
Default implementation of a representation of a set of clauses.
Field Summary |
---|
Fields inherited from interface orbital.moon.logic.resolution.ClausalSet |
---|
CONTRADICTION_SINGLETON_SET, TAUTOLOGY_SINGLETON_SET |
Constructor Summary | |
---|---|
ClausalSetImpl()
|
|
ClausalSetImpl(java.util.Set clauses)
Copy constructor. |
Method Summary | |
---|---|
java.util.Iterator |
getProbableComplementsOf(Clause C)
Get (an iterator over) all clauses contained in this set that may possibly form a complement to C for resolution. |
boolean |
removeAllSubsumedBy(ClausalSet T)
Remove all clauses from this set which are subsumed by any of the clauses of T. |
Formula |
toFormula()
Convert this set of clauses to a formula representation. |
Methods inherited from class java.util.HashSet |
---|
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
---|
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Constructor Detail |
---|
public ClausalSetImpl(java.util.Set clauses)
public ClausalSetImpl()
Method Detail |
---|
public java.util.Iterator getProbableComplementsOf(Clause C)
ClausalSet
Implementations may use indexing to estimate the clauses to return very quickly.
getProbableComplementsOf
in interface ClausalSet
public boolean removeAllSubsumedBy(ClausalSet T)
ClausalSet
In case of T == this, don't let clauses remove by mutual subsumption, or by self-subsumption.
removeAllSubsumedBy
in interface ClausalSet
public Formula toFormula()
ClausalSet
toFormula
in interface ClausalSet
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |