parser.absconparseur.components
Class PLexLessEq
java.lang.Object
parser.absconparseur.components.PConstraint
parser.absconparseur.components.PGlobalConstraint
parser.absconparseur.components.PLexLessEq
public class PLexLessEq
- extends PGlobalConstraint
Method Summary |
long |
computeCostOf(int[] tuple)
For CSP, returns 0 is the constraint is satified and 1 if the constraint is violated. |
String |
toString()
|
table
public Object[] table
offset
public int offset
PLexLessEq
public PLexLessEq(String name,
PVariable[] scope,
Object[] table,
int offset)
computeCostOf
public long computeCostOf(int[] tuple)
- Description copied from class:
PConstraint
- For CSP, returns 0 is the constraint is satified and 1 if the constraint is violated.
For WCSP, returns the cost for the given tuple.
- Specified by:
computeCostOf
in class PConstraint
toString
public String toString()
- Overrides:
toString
in class PConstraint
Copyright © 2012. All Rights Reserved.