|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orbital.moon.logic.resolution.DefaultClausalFactory
public class DefaultClausalFactory
Factory for clauses and clausalsets.
Constructor Summary | |
---|---|
DefaultClausalFactory()
|
Method Summary | |
---|---|
ClausalSet |
asClausalSet(Formula f)
Returns a clausal set representation of the given formula. |
ClausalSet |
createClausalSet(java.util.Set clauses)
Instantiates a new clausal set. |
Clause |
createClause(java.util.Set literals)
Instantiates a new clause. |
ClausalSet |
newClausalSet()
Instantiates a new clausal set. |
Clause |
newClause()
Instantiates a new clause. |
void |
setVerbose(boolean newVerbose)
Add verbosity, i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultClausalFactory()
Method Detail |
---|
public void setVerbose(boolean newVerbose)
public Clause newClause()
ClausalFactory
newClause
in interface ClausalFactory
public Clause createClause(java.util.Set literals)
ClausalFactory
createClause
in interface ClausalFactory
literals
- the set of literals for the new clause.
public ClausalSet newClausalSet()
ClausalFactory
newClausalSet
in interface ClausalFactory
public ClausalSet createClausalSet(java.util.Set clauses)
ClausalFactory
createClausalSet
in interface ClausalFactory
clauses
- the set of clauses for the new clausal set.
public ClausalSet asClausalSet(Formula f)
ClausalFactory
Converts the given formula to CNF in clausal set representation.
asClausalSet
in interface ClausalFactory
ClassicalLogic.Utilities.clausalForm(Formula,boolean)
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |