Package jmav.metricCalculator

Examples of jmav.metricCalculator.AgenteCalcolatoreMetrica


      // wait
    }
   
    // Launch/get value
    inProgress.put(metrica, true);
    AgenteCalcolatoreMetrica agent = null;
   
    if(metrica.equals(Metrica.LOC)) {
      agent = new LOCAgent(posizione);
     
    }
   
    if(metrica.equals(Metrica.NOPAR)) {
      agent = new NOPARAgent(posizione);
    }
   
    pool.execute(agent.getJob());
    Double valore = agent.getJob().get().doubleValue();
    HashMap<Posizione, Double> h1 = new HashMap<Posizione, Double>();
    h1.put(posizione, valore);
    valoriMetriche.put(metrica, h1);
    inProgress.put(metrica, false);
    return valoriMetriche.get(metrica).get(posizione);
View Full Code Here

TOP

Related Classes of jmav.metricCalculator.AgenteCalcolatoreMetrica

Copyright © 2018 www.massapicom. 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.