Author: pwang
Date: 2011-11-08 11:54:41 -0800 (Tue, 08 Nov 2011)
New Revision: 27432
Modified:
csplugins/trunk/ucsd/pwang/jActiveModules-impl/src/main/java/csplugins/jActiveModules/Component.java
Log:
Correct node index
Modified:
csplugins/trunk/ucsd/pwang/jActiveModules-impl/src/main/java/csplugins/jActiveModules/Component.java
===================================================================
---
csplugins/trunk/ucsd/pwang/jActiveModules-impl/src/main/java/csplugins/jActiveModules/Component.java
2011-11-08 19:27:08 UTC (rev 27431)
+++
csplugins/trunk/ucsd/pwang/jActiveModules-impl/src/main/java/csplugins/jActiveModules/Component.java
2011-11-08 19:54:41 UTC (rev 27432)
@@ -664,8 +664,7 @@
CyNode current = (CyNode)nodeIt.next();
tempComponent.addNode(current);
double new_score = tempComponent.getScore();
- int index = (int)current.getSUID();
- node2Increase.put(index
/*.getRootGraphIndex()*/,new_score-previous_score);
+ node2Increase.put(current.getIndex()
/*.getRootGraphIndex()*/,new_score-previous_score);
tempComponent.removeNode(current);
}
@@ -699,8 +698,8 @@
}
-
}
+
// replace "cern.colt.list.OpenIntDoubleHashMap"
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.