Author: pwang
Date: 2011-10-19 10:39:55 -0700 (Wed, 19 Oct 2011)
New Revision: 27232

Modified:
   
csplugins/trunk/ucsd/pwang/jActiveModules31/src/main/java/csplugins/jActiveModules/QuenchingSearchThread.java
Log:
Refactored to work with Cy3

Modified: 
csplugins/trunk/ucsd/pwang/jActiveModules31/src/main/java/csplugins/jActiveModules/QuenchingSearchThread.java
===================================================================
--- 
csplugins/trunk/ucsd/pwang/jActiveModules31/src/main/java/csplugins/jActiveModules/QuenchingSearchThread.java
       2011-10-19 17:00:57 UTC (rev 27231)
+++ 
csplugins/trunk/ucsd/pwang/jActiveModules31/src/main/java/csplugins/jActiveModules/QuenchingSearchThread.java
       2011-10-19 17:39:55 UTC (rev 27232)
@@ -1,9 +1,6 @@
 package csplugins.jActiveModules;
-//------------------------------------------------------------------------------
-
-import giny.model.GraphPerspective;
-import giny.model.Node;
-
+import org.cytoscape.model.CyNetwork;
+import org.cytoscape.model.CyNode;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
@@ -12,7 +9,7 @@
 import csplugins.jActiveModules.data.ActivePathFinderParameters;
 
 public class QuenchingSearchThread extends SearchThread{
-    public QuenchingSearchThread(GraphPerspective graph, Vector resultPaths, 
Node [] nodes, ActivePathFinderParameters apfParams, SortedVector oldPaths){
+    public QuenchingSearchThread(CyNetwork graph, Vector resultPaths, CyNode 
[] nodes, ActivePathFinderParameters apfParams, SortedVector oldPaths){
        super(graph,resultPaths,nodes,apfParams);
        super.oldPaths = oldPaths;
        HashSet temp = new HashSet();
@@ -63,7 +60,7 @@
        while(quench){
            
            //select a node
-           Node current_node = nodes[count++];
+           CyNode current_node = nodes[count++];
            toggleNode(current_node);
            Vector newComps = updatePaths(current_node);
            

-- 
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.

Reply via email to