|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object and.Mapping.Algo and.Mapping.Simple
public class Simple
Implementation of Simple Mapping algorithm
Field Summary |
---|
Fields inherited from class and.Mapping.Algo |
---|
gl, gr, mp |
Constructor Summary | |
---|---|
Simple()
Default constructor. |
|
Simple(Graph _gr,
Grid _gd)
Constructor. |
Method Summary | |
---|---|
GNode |
getOtherGNode()
Find a new node, which may not takes part into the computation process. |
void |
map()
Mapping function. |
GNode |
replaceNode(GNode replaced,
java.util.ArrayList<GNode> _ag)
Replace a fallen node by a new one, according to the mapping policy. |
Methods inherited from class and.Mapping.Algo |
---|
getMapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Simple()
public Simple(Graph _gr, Grid _gd)
_gr
- Application graph to be mapped on_gd
- Grid graphMethod Detail |
---|
public void map()
Algo
map
in class Algo
public GNode replaceNode(GNode replaced, java.util.ArrayList<GNode> _ag)
Algo
replaceNode
in class Algo
replaced
- The fallen node to be replaced_ag
- The list of all available computing nodes
public GNode getOtherGNode()
Algo
getOtherGNode
in class Algo
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |