|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.cp.solver.constraints.global.geost.externalConstraints.ExternalConstraint
public class ExternalConstraint
A class that all external constraints should extend. It contains info and functionality common to all external constraints.
Field Summary | |
---|---|
protected int[] |
dim
|
protected int |
ectrID
|
protected Frame |
frame
|
protected static int |
maxId
|
protected int[] |
objectIds
|
Constructor Summary | |
---|---|
ExternalConstraint()
|
|
ExternalConstraint(int ectrID,
int[] dimensions,
int[] objectIdentifiers)
|
Method Summary | |
---|---|
int[] |
getDim()
Gets the list of dimensions that an external constraint is active for. |
int |
getEctrID()
Gets the external constraint ID |
Frame |
getFrame()
Gets the frame related to an external constraint |
int[] |
getObjectIds()
Gets the list of object IDs that this external constraint affects. |
void |
setDim(int[] dim)
Sets the list of dimensions that an external constraint is active for. |
void |
setFrame(Frame frame)
Sets the frame related to an external constraint |
void |
setObjectIds(int[] objectIds)
Sets the list of object IDs that this external constraint affects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int ectrID
protected int[] dim
protected int[] objectIds
protected Frame frame
protected static int maxId
Constructor Detail |
---|
public ExternalConstraint()
public ExternalConstraint(int ectrID, int[] dimensions, int[] objectIdentifiers)
Method Detail |
---|
public final int[] getDim()
public final int getEctrID()
public final int[] getObjectIds()
public final void setDim(int[] dim)
public final void setObjectIds(int[] objectIds)
public final Frame getFrame()
public final void setFrame(Frame frame)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |