|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.body.proxy.AbstractProxy | +--org.objectweb.proactive.core.group.ProxyForGroup | +--org.objectweb.proactive.core.group.topology.TopologyGroup | +--org.objectweb.proactive.core.group.topology.Line | +--org.objectweb.proactive.core.group.topology.Plan
This class represents a group by a two-dimensional topology.
Field Summary | |
protected int |
height
height of the two-dimensional topology group |
Fields inherited from class org.objectweb.proactive.core.group.topology.Line |
width |
Fields inherited from class org.objectweb.proactive.core.group.ProxyForGroup |
className, dispatching, logger, memberList, stub, uniqueSerialization, waited |
Constructor Summary | |
protected |
Plan(Group g,
int nbMembers)
Construtor. |
|
Plan(Group g,
int height,
int width)
Construtor. |
Method Summary | |
Line |
column(int column)
Returns the column (one-dimensional topology group) with the specified number |
Line |
column(java.lang.Object o)
Returns the column that contains the specified object |
java.lang.Object |
down(java.lang.Object o)
Returns the object at the down of the specified object in the two-dimensional topology group |
int |
getHeight()
Returns the height of the two-dimensional topology group (number of lines) |
int |
getWidth()
Return the max size of the line |
int |
getX(java.lang.Object o)
Returns the X-coordonate of the specified object |
int |
getY(java.lang.Object o)
Returns the Y-coordonate of the specified object |
java.lang.Object |
left(java.lang.Object o)
Returns the object at the left of the specified object in the two-dimensional topology group |
Line |
line(int line)
Returns the line (one-dimensional topology group) with the specified number |
Line |
line(java.lang.Object o)
Returns the line that contains the specified object |
java.lang.Object |
right(java.lang.Object o)
Returns the object at the right of the specified object in the two-dimensional topology group |
java.lang.Object |
up(java.lang.Object o)
Returns the object at the up of the specified object in the two-dimensional topology group |
Methods inherited from class org.objectweb.proactive.core.group.ProxyForGroup |
add, addAll, addMerge, addToListOfResult, allArrived, allAwaited, asynchronousCallOnGroup, barrier, clear, contains, containsAll, createMemberWithMultithread, difference, display, equals, exclude, get, getExceptionList, getGroupByType, getType, getTypeName, hashCode, indexOf, intersection, isDispatchingOn, isEmpty, iterator, listIterator, oneWayCallOnGroup, purgeExceptionAndNull, range, reify, remove, remove, removeAll, retainAll, set, setDispatchingOff, setDispatchingOn, setRatioNemberToThread, setSPMDGroup, setUniqueSerializationOff, setUniqueSerializationOn, size, toArray, toArray, union, waitAll, waitAndGetOne, waitAndGetTheNth, waitN, waitOne, waitOneAndGetIndex, waitTheNth |
Methods inherited from class org.objectweb.proactive.core.body.proxy.AbstractProxy |
isAsynchronousCall, isOneWayCall |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int height
Constructor Detail |
public Plan(Group g, int height, int width) throws ConstructionOfReifiedObjectFailedException
g
are used to fill the topology group.
g
- - the group used a base for the new group (topology)height
- - the heigth of the two-dimensional topology groupwidth
- - the width of the two-dimensional topology group
ConstructionOfReifiedObjectFailedException
protected Plan(Group g, int nbMembers) throws ConstructionOfReifiedObjectFailedException
g
are used to fill the topology group.
g
- - the group used a base for the new group (topology)
ConstructionOfReifiedObjectFailedException
Method Detail |
public int getWidth()
getWidth
in class Line
public int getHeight()
public java.lang.Object left(java.lang.Object o)
left
in class Line
o
- - the specified object
o. If there is no object at the left of o
, return null
public int getX(java.lang.Object o)
getX
in class Line
o
- - the object
public int getY(java.lang.Object o)
o
- - the object
public java.lang.Object right(java.lang.Object o)
right
in class Line
o
- - the specified object
o. If there is no object at the right of o
, return null
public java.lang.Object up(java.lang.Object o)
o
- - the specified object
o. If there is no object at the up of o
, return null
public java.lang.Object down(java.lang.Object o)
o
- - the specified object
o. If there is no object at the down of o
, return null
public Line line(int line)
line
- - the number of the line
null
if the the specified line is incorrectpublic Line line(java.lang.Object o)
o
- - the object
public Line column(int column)
column
- - the number of the line
null
if the the specified line is incorrectpublic Line column(java.lang.Object o)
o
- - the object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |