public void infoDensityStat(double threshold) {
        double minDensity = 2.0;
        double maxDensity = -1.0;
        double avgDensity = 0.0;
        double avgScore = 0.0;
        double minScore = 2.0;
        double maxScore = -1.0;

//        OptimallyDiscriminativeSet _answerSet = new OptimallyDiscriminativeSet();
//
//        for (Map.Entry<PogNode, Integer> entry : pogVisitCount.entrySet()) {
//            PogNode key = entry.getKey();
//            if (key.size() == 0 || key.infoDensity < threshold) {
//                continue;
//            }
//
//            _answerSet.addSubgraph(key.nodeList(), key.infoDensity);
//        }

        int count = 0;
        for (Subgraph s : getAnswer()) {
            double density = s.score / s.size();
            avgScore += s.score;
            count++;
            avgDensity += density;
            if (minDensity > density) {
                minDensity = density;
            }
            if (maxDensity < density) {
                maxDensity = density;
            }
            if (maxScore < s.score) {
                maxScore = s.score;
            }
            if (minScore > s.score) {
                minScore = s.score;
            }
            if (s.score == 1.0 && s.size() == 1) {
                System.err.print("-------------------OMG");
                s.print();
            }
            if (density == 1.0 && s.size() == 1) {
                System.err.print("-------------------Hello Motor");
                s.print();
            }
        }

        avgDensity /= count;
        avgScore /= count;

        System.err.println("\tminDensity: " + minDensity + "\tmaxDensity: " + maxDensity
                + "\tDensitySpan: " + (maxDensity - minDensity)
                + "\tavgD: " + avgDensity
                + "\tminP: " + minScore
                + "\tmaxP: " + maxScore
                + "\tavgP: " + avgScore
                + "\tsize: " + count);
//        System.err.println("minDensity: " + minDensity + " maxDensity: " + maxDensity
//                + " avgDensity: " + avgDensity + " avgScore: " + avgScore
//                + " answerSet size: " + count);
    }