// Path: src/edu/uic/ncdm/venn/data/VennData.java
// public class VennData {
//     public double[] areas;
//     public String[][] data;
// 
//     public VennData(String[][] data, double[] areas) {
//         this.data = data;
//         this.areas = areas;
//     }
// }
// 
// Path: application.windows/source/main/PathwayMatrix_1_1.java
// public static List<Miner> minerList = new ArrayList<Miner>();
// 
// Path: application.windows/source/main/PathwayMatrix_1_1.java
// public static String[] minerNames;


import processing.core.*;
import java.awt.Color;
import java.util.ArrayList;
import edu.uic.ncdm.venn.data.VennData;
import static main.PathwayMatrix_1_1.minerList;
import static main.PathwayMatrix_1_1.minerNames;
    public float bx=0;
    public float by=0;
    public float br=0;
    
    public ArrayList<String>[] pair2;
	public boolean[] deactive;
   
	public static int numMinerContainData=-1;
	public static int[] minerGlobalIDof;
	public static float currentSize;
	
	
	public Venn_Overview(PApplet pa) {
		parent = pa;
		centers = new double[0][0];	
	}  
    
	public void initialize() {
		// Select the list of miner
		numMinerContainData = 0;
		for (int i=0;i<minerList.size();i++){
			if (main.PathwayMatrix_1_1.pairs[i].size()>0)
				numMinerContainData++;
		}	
		if (numMinerContainData==0) return;
			
		//System.out.println(minerList.size()+" numMiner="+numMiner);
		
		pair2 = new ArrayList[numMinerContainData];
		minerGlobalIDof = new int[numMinerContainData];
// Path: src/edu/uic/ncdm/venn/data/VennData.java
// public class VennData {
//     public double[] areas;
//     public String[][] data;
// 
//     public VennData(String[][] data, double[] areas) {
//         this.data = data;
//         this.areas = areas;
//     }
// }
// 
// Path: application.windows/source/main/PathwayMatrix_1_1.java
// public static List<Miner> minerList = new ArrayList<Miner>();
// 
// Path: application.windows/source/main/PathwayMatrix_1_1.java
// public static String[] minerNames;


// Path: src/edu/uic/ncdm/venn/Venn_Overview.java
import processing.core.*;
import java.awt.Color;
import java.util.ArrayList;
import edu.uic.ncdm.venn.data.VennData;
import static main.PathwayMatrix_1_1.minerList;
import static main.PathwayMatrix_1_1.minerNames;

    public float bx=0;
    public float by=0;
    public float br=0;
    
    public ArrayList<String>[] pair2;
	public boolean[] deactive;
   
	public static int numMinerContainData=-1;
	public static int[] minerGlobalIDof;
	public static float currentSize;
	
	
	public Venn_Overview(PApplet pa) {
		parent = pa;
		centers = new double[0][0];	
	}  
    
	public void initialize() {
		// Select the list of miner
		numMinerContainData = 0;
		for (int i=0;i<minerList.size();i++){
			if (main.PathwayMatrix_1_1.pairs[i].size()>0)
				numMinerContainData++;
		}	
		if (numMinerContainData==0) return;
			
		//System.out.println(minerList.size()+" numMiner="+numMiner);
		
		pair2 = new ArrayList[numMinerContainData];
		minerGlobalIDof = new int[numMinerContainData];
		minerNames = new String[numMinerContainData];