TObjectDoubleHashMap seedAmpliFactor = new TObjectDoubleHashMap();
TObjectDoubleIterator wIter = classSeedSum.iterator();
while (wIter.hasNext()) {
wIter.advance();
seedAmpliFactor.put(wIter.key(), maxSum / wIter.value());
System.out.println("Label: " + wIter.key() +
" ampli_factor: " + seedAmpliFactor.get(wIter.key()));
}
// now multiply injected scores with amplification factors
Iterator<String> viter = this._vertices.keySet().iterator();