// System.out.println("number: "+temp.length);
TopDocCollector collector = null;
for (int d = 0; d < 19; d++) {
collector = new TopDocCollector(temp.length);
for (int j = 0; j <= d; j++) {
collector.collect(temp[j].doc, temp[j].score + 100.0d);
}
for (int i = d + 1; i < temp.length; i++) {
temp[i].score -= c / Math.log(d + 2) / log2toe
* correlation(temp[d].doc, temp[i].doc);
// c *correlation(temp[d].doc,temp[i].doc);