Package it.polito.discarding_Strategy

Examples of it.polito.discarding_Strategy.PacketDiscarding.discard()


          for(Float iter:list){ //tempi
            int countLogged=0;
            int countDiscarded=0;
            for(Vehicle v:time_map.get(iter)){ //veicoli
              countVehicles++;
              discarding.discard(v); //scarto
              countLogged=countLogged+v.getNumLoggedPacket();
              countDiscarded=countDiscarded+v.getNumDiscardedPacket();
            }//fine veicoli
         
            /**============= statistics =======================================**/
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.