|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--laser.mpi.util.shuffle.Node
The Node is the main data structure used to represent information about a particular coordinate which occurs (as a source or target) in the map.
Field Summary | |
(package private) int |
locPos
The local position (in the localData array) for the coordinate corresponding to this node. |
(package private) Node |
next
The next node, i.e., the node (if any) to which this one is moved by map. |
(package private) Node |
nextSeg
If segStart is true, this field is used to point to the next segment in the factor. |
(package private) Node |
prev
The previous node, i.e., the node (if any) which is moved to this one by map. |
(package private) int |
proc
The proc for the coordinate corresponding to this node. |
(package private) boolean |
reached
Tells whether or not this node has been reached. |
(package private) Node |
segEnd
If segStart is true, this field is used to point to the last node in this segment. |
(package private) boolean |
segStart
This flag is set to true if this node starts a new segment. |
Constructor Summary | |
(package private) |
Node(int proc,
int locPos)
Constructs a new Node with given proc and locPos. |
Method Summary | |
java.lang.String |
toBigString()
Returns a more complete string representation of this Node, showing the values of all fields. |
java.lang.String |
toString()
Returns a string representation of this Node of the form [proc,locPos;segStart,reached]. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
Node next
Node prev
int proc
int locPos
boolean segStart
Node nextSeg
Node segEnd
boolean reached
Constructor Detail |
Node(int proc, int locPos)
proc
- the process rank (ID) for the coordinate
corresponding to this NodelocPos
- the position in localData for the coordinate
corresponding to this NodeMethod Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toBigString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |