c.printMemory();
/**============= discarding strategy =======================================**/
/**random -->*/ //discarding=new random("Random",this.c.getRatio());
/**distance based -->*/ discarding=new distanceBased("Distance based",c.getRange(),c.getRange_ratio());
System.out.println("New Discarding dimensione heap:");
c.printMemory();
List<Float> list=new ArrayList<Float>(); //per scorrere i tempi in modo ordinato
list.addAll(time_map.keySet());