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

- -and.Mapping -
-Class Utils

-
-java.lang.Object
-  extended by and.Mapping.Utils
-
-
-
-
public class Utils
extends java.lang.Object
- - -

-Class providing some tools to the library -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Utils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static GNodecreateGNode() - -
-          Creation of the representation of the node in the Mapping point of view.
-static GridcreateGridG5k(java.util.ArrayList<GNode> _an) - -
-          Creation of the representation of the grid, according to clusters into sites.
-static GraphreadGraph(java.lang.String _path, - java.lang.String _file) - -
-          Read an application Graph from a file.
-static GridreadGrid(java.lang.String _path, - java.lang.String _file) - -
-          Read a Grid graph from a file.
-static voidwriteGraph(Graph _gr, - java.lang.String _file, - java.lang.String _path) - -
-          Write an application Graph in a file.
-static voidwriteGrid(Grid _gl, - java.lang.String _file, - java.lang.String _path) - -
-          Write the Grid object in an XML file.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Utils

-
-public Utils()
-
-
- - - - - - - - -
-Method Detail
- -

-createGNode

-
-public static GNode createGNode()
-
-
Creation of the representation of the node in the Mapping point of view. It needs - some information about the computing node, which will be exploited by mapping - algorithms. -

-

- -
Returns:
A node from the Mapping library
-
-
-
- -

-createGridG5k

-
-public static Grid createGridG5k(java.util.ArrayList<GNode> _an)
-
-
Creation of the representation of the grid, according to clusters into sites. - This representation may only fit on Grid'5000 like architectures (with computing - nodes name based on the following pattern |cluster_name|id_of_node_into_cluster|.|site_of_cluster|.|organisation|.*|). -

-

-
Parameters:
_an - the list of computing nodes connected -
Returns:
the grid's architecture
-
-
-
- -

-writeGrid

-
-public static void writeGrid(Grid _gl,
-                             java.lang.String _file,
-                             java.lang.String _path)
-
-
Write the Grid object in an XML file. -

-

-
Parameters:
_gl - Grid graph to be write
_file - File's name
_path - File's path
-
-
-
- -

-writeGraph

-
-public static void writeGraph(Graph _gr,
-                              java.lang.String _file,
-                              java.lang.String _path)
-
-
Write an application Graph in a file. -

-

-
Parameters:
_gr - Application Graph to be write
_file - File's name
_path - File's path
-
-
-
- -

-readGraph

-
-public static Graph readGraph(java.lang.String _path,
-                              java.lang.String _file)
-
-
Read an application Graph from a file. -

-

-
Parameters:
_file - File's name
_path - File's path -
Returns:
The application Graph read
-
-
-
- -

-readGrid

-
-public static Grid readGrid(java.lang.String _path,
-                            java.lang.String _file)
-
-
Read a Grid graph from a file. -

-

-
Parameters:
_file - File's name
_path - File's path -
Returns:
The Grid graph read
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - -