choco.cp.solver.constraints.global.geost.internalConstraints
Class Outbox
java.lang.Object
choco.cp.solver.constraints.global.geost.internalConstraints.InternalConstraint
choco.cp.solver.constraints.global.geost.internalConstraints.Outbox
- All Implemented Interfaces:
- Serializable
public final class Outbox
- extends InternalConstraint
A class that represent the Outbox internal constraint. If this constraint is
applied to an object, it forces the origin of the object to be outside its
box defined by an offset and a size in each dimension
- See Also:
- Serialized Form
Constructor Summary |
Outbox(int[] t,
int[] l)
|
Outbox
public Outbox(int[] t,
int[] l)
getL
public int[] getL()
getL
public int getL(int index)
setL
public void setL(int[] l)
getT
public int[] getT()
getT
public int getT(int index)
setT
public void setT(int[] t)
toString
public String toString()
- Overrides:
toString
in class Object
adjacent
public int adjacent(Outbox ob)
merge
public void merge(Outbox ob,
int dim)
sameSize
public boolean sameSize(Outbox ob,
int dim)
Copyright © 2012. All Rights Reserved.