protected void pAll(int thresholdCount, List<Double> ps) { for (int i = 0; i < nodes.length; i++) { AcgtTree node = nodes[i]; double p[] = p(); if (node != null) { if (counts[i] >= thresholdCount) ps.add(p[i]); node.pAll(thresholdCount, ps); } } }