A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
mapping.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implementation of new functions.
[mapping.git]
/
src
/
and
/
Mapping
/
Grid.java
diff --git
a/src/and/Mapping/Grid.java
b/src/and/Mapping/Grid.java
index
877ac33
..
3501a2d
100644
(file)
--- a/
src/and/Mapping/Grid.java
+++ b/
src/and/Mapping/Grid.java
@@
-325,8
+325,10
@@
public class Grid implements Serializable
{
if( _g != null )
{
+ /** Change in the cluster **/
getClusterOfNode( _g ).setGNodeStatus( _g, _status ) ;
+ /** Change in local list **/
for( int i = 0 ; i < gnodesList.size() ; i++ )
{
if( _g.getId() == gnodesList.get( i ).getId() )
@@
-399,10
+401,8
@@
public class Grid implements Serializable
temp = temp / gnodesList.size() ;
std = Math.sqrt( temp ) ;
- /** Computation of the relative standard deviation
- * plus modifications
- */
- hd = 100 * std / average / 10 ;
+ /** Computation of the relative standard deviation **/
+ hd = 100 * std / average ;
return hd ;