|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValuationStructure
Represents a valuation structure S=(E,+,<=,0,1) A soft constraint network is a CN equipped with a valuation structure. A total order is assumed.
| Field Summary | |
|---|---|
static int |
ALLOWED
An constant holding the minimum value of the valuation structure. |
static int |
FORBIDDEN
A constant holding the maximum value of the valuation structure. |
static int |
MAX
A constant holding the maximum value of the valuation structure. |
static int |
MIN
A constant holding the minimum value of the valuation structure. |
| Method Summary | |
|---|---|
int |
compareTo(int a,
int b)
The operator which defines the total order. |
int |
plus(int a,
int b)
The plus operator. |
| Field Detail |
|---|
static final int MIN
static final int MAX
static final int ALLOWED
static final int FORBIDDEN
| Method Detail |
|---|
int plus(int a,
int b)
int compareTo(int a,
int b)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||