|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.unitn.disi.smatch.classifiers.CNFClassifier
public class CNFClassifier
Converts cLabFormula into CNF before use.
Constructor Summary | |
---|---|
CNFClassifier()
|
Method Summary | |
---|---|
void |
buildCNode(INode in)
constructs cNode for the concept |
IContext |
buildCNodeFormulas(IContext context)
Constructs concept@node formulas for all the nodes in the context Must be executed after buildCLabs. |
java.lang.String |
toCNF(INode in,
java.lang.String formula)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CNFClassifier()
Method Detail |
---|
public IContext buildCNodeFormulas(IContext context)
IClassifier
buildCNodeFormulas
in interface IClassifier
context
- context
public void buildCNode(INode in)
in
- node to processpublic java.lang.String toCNF(INode in, java.lang.String formula)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |