choco.kernel.model.constraints.geost.externalConstraints
Class IExternalConstraint

java.lang.Object
  extended by choco.kernel.model.constraints.geost.externalConstraints.IExternalConstraint
Direct Known Subclasses:
DistGeqModel, DistLeqModel, DistLinearModel, NonOverlappingModel

public abstract class IExternalConstraint
extends Object


Field Summary
protected  int[] dim
           
protected  int ectrID
           
protected  int[] objectIds
           
 
Constructor Summary
IExternalConstraint()
           
IExternalConstraint(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
 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 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

ectrID

protected int ectrID

dim

protected int[] dim

objectIds

protected int[] objectIds
Constructor Detail

IExternalConstraint

public IExternalConstraint()

IExternalConstraint

public IExternalConstraint(int ectrID,
                           int[] dimensions,
                           int[] objectIdentifiers)
Method Detail

getDim

public int[] getDim()
Gets the list of dimensions that an external constraint is active for.


getEctrID

public int getEctrID()
Gets the external constraint ID


getObjectIds

public int[] getObjectIds()
Gets the list of object IDs that this external constraint affects.


setDim

public void setDim(int[] dim)
Sets the list of dimensions that an external constraint is active for.


setObjectIds

public void setObjectIds(int[] objectIds)
Sets the list of object IDs that this external constraint affects.



Copyright © 2012. All Rights Reserved.