|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpartage.ComplexInstance.ObjectCNF
public static class ComplexInstance.ObjectCNF
A static class representing a propositional logical formula of objects in conjunctive normal form (allows for a more efficient processing of this kind of preferences).
| Constructor Summary | |
|---|---|
ComplexInstance.ObjectCNF()
|
|
ComplexInstance.ObjectCNF(int[][] _clauses)
|
|
| Method Summary | |
|---|---|
void |
addClause(int[] _clause)
Adds a clause to the Conjunctive Normal Form. |
int[][] |
getClauses()
Returns the array representation of the Conjunctive Normal Form. |
int[] |
getObjects()
This methods returns the set of objects concerned by the formula. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComplexInstance.ObjectCNF()
public ComplexInstance.ObjectCNF(int[][] _clauses)
| Method Detail |
|---|
public int[][] getClauses()
public void addClause(int[] _clause)
_clause - the array representing the conjunctive term to add.public int[] getObjects()
ComplexInstance.LogicalObjectFormula
getObjects in interface ComplexInstance.LogicalObjectFormulapublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||