|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpartage.ComplexInstance.ObjectDNF
public static class ComplexInstance.ObjectDNF
A static class representing a propositional logical formula of objects in disjunctive normal form (allows for a more efficient processing of this kind of preferences).
| Constructor Summary | |
|---|---|
ComplexInstance.ObjectDNF()
|
|
ComplexInstance.ObjectDNF(int[][] _conjunctiveTerms)
|
|
| Method Summary | |
|---|---|
void |
addConjunctiveTerm(int[] _conjunctiveTerm)
Adds a conjunctive term to the Disjunctive Normal Form. |
int[][] |
getConjunctiveTerms()
Returns the array representation of the Disjunctive 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.ObjectDNF()
public ComplexInstance.ObjectDNF(int[][] _conjunctiveTerms)
| Method Detail |
|---|
public int[][] getConjunctiveTerms()
public void addConjunctiveTerm(int[] _conjunctiveTerm)
_conjunctiveTerm - 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 | ||||||||