choco.cp.solver.constraints.global.geost.geometricPrim
Class Shape
java.lang.Object
choco.cp.solver.constraints.global.geost.geometricPrim.Shape
public final class Shape
- extends Object
This is the class that represents a Shape. Each shape has a shape Id and a set of shifted boxes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shape
public Shape()
Shape
public Shape(int id)
getShiftedBoxes
public List<ShiftedBox> getShiftedBoxes()
setShiftedBoxes
public void setShiftedBoxes(List<ShiftedBox> sb)
addShiftedBox
public void addShiftedBox(ShiftedBox sb)
getShiftedBox
public ShiftedBox getShiftedBox(int index)
removeShiftedBox
public void removeShiftedBox(int index)
removeShiftedBox
public void removeShiftedBox(ShiftedBox sb)
getShapeId
public int getShapeId()
setShapeId
public void setShapeId(int shapeId)
Copyright © 2012. All Rights Reserved.