choco.cp.solver.constraints.global.geost.internalConstraints
Class Outbox

java.lang.Object
  extended by choco.cp.solver.constraints.global.geost.internalConstraints.InternalConstraint
      extended by 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)
           
 
Method Summary
 int adjacent(Outbox ob)
           
 int[] getL()
           
 int getL(int index)
           
 int[] getT()
           
 int getT(int index)
           
 void merge(Outbox ob, int dim)
           
 boolean sameSize(Outbox ob, int dim)
           
 void setL(int[] l)
           
 void setT(int[] t)
           
 String toString()
           
 
Methods inherited from class choco.cp.solver.constraints.global.geost.internalConstraints.InternalConstraint
getIctrID, setIctrID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Outbox

public Outbox(int[] t,
              int[] l)
Method Detail

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.