|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.cp.solver.constraints.global.geost.frames.Frame
public class Frame
A class that all Frames should extend. It contains info and functionality common to all frames.
Constructor Summary | |
---|---|
Frame()
|
Method Summary | |
---|---|
void |
addForbidRegions(int oid,
List<Region> regions)
Adds a given shape id and a Vector of regions to the Frame. |
HashMap<Integer,List<Region>> |
getRelForbidRegions()
Gets the Relative forbidden regions of this frame. |
List<Region> |
getRelForbidRegions(int oid)
Gets the Relative forbidden regions of a certain shape id. |
void |
readExternal(ObjectInput in)
|
int |
size()
Returns the size of the frame. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Frame()
Method Detail |
---|
public final HashMap<Integer,List<Region>> getRelForbidRegions()
public final void addForbidRegions(int oid, List<Region> regions)
public final List<Region> getRelForbidRegions(int oid)
public final int size()
public final void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public final void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |