X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/mapping.git/blobdiff_plain/98acbcc2ea6af60d64b96cd46c4eb446e03a7510..4b994d60530bc4e2db2662b800207eafa2360c82:/javadoc/and/Mapping/DefaultMapping.html diff --git a/javadoc/and/Mapping/DefaultMapping.html b/javadoc/and/Mapping/DefaultMapping.html deleted file mode 100644 index 4b7b34f..0000000 --- a/javadoc/and/Mapping/DefaultMapping.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - - -DefaultMapping - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -and.Mapping -
-Class DefaultMapping

-
-java.lang.Object
-  extended by and.Mapping.Algo
-      extended by and.Mapping.DefaultMapping
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class DefaultMapping
extends Algo
- - -

-Implementation of JaceP2P default mapping -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class and.Mapping.Algo
gl, gr, mp
-  - - - - - - - - - - - - - -
-Constructor Summary
DefaultMapping() - -
-          Default constructor.
DefaultMapping(Graph _gr, - Grid _gd, - java.util.ArrayList<GNode> _gnodes) - -
-          Constructor.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- GNodegetOtherGNode(java.util.ArrayList<GNode> _ag) - -
-          Find a new node, which may not takes part into the computation process.
- voidmap() - -
-          Mapping function.
- GNodereplaceNode(GNode _dead, - 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
- -

-DefaultMapping

-
-public DefaultMapping()
-
-
Default constructor. -

-

-
- -

-DefaultMapping

-
-public DefaultMapping(Graph _gr,
-                      Grid _gd,
-                      java.util.ArrayList<GNode> _gnodes)
-
-
Constructor. -

-

-
Parameters:
_gr - Tasks graph to be mapped
_gd - Grid graph
-
- - - - - - - - -
-Method Detail
- -

-map

-
-public void map()
-
-
Description copied from class: Algo
-
Mapping function. -

-

-
Specified by:
map in class Algo
-
-
-
-
-
-
- -

-replaceNode

-
-public GNode replaceNode(GNode _dead,
-                         java.util.ArrayList<GNode> _ag)
-
-
Description copied from class: Algo
-
Replace a fallen node by a new one, according to the mapping policy. -

-

-
Specified by:
replaceNode in class Algo
-
-
-
Parameters:
_dead - The fallen node to be replaced
_ag - The list of all available computing nodes -
Returns:
The new node
-
-
-
- -

-getOtherGNode

-
-public GNode getOtherGNode(java.util.ArrayList<GNode> _ag)
-
-
Description copied from class: Algo
-
Find a new node, which may not takes part into the computation process. - Typically such kind of node is used to create a new spawner or a new super-node, - in order to bring fault tolerance. -

-

-
Specified by:
getOtherGNode in class Algo
-
-
- -
Returns:
Another node which will not compute
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - -