Package br.edu.utfpr.cm.minerador.services.metric

Examples of br.edu.utfpr.cm.minerador.services.metric.AbstractBichoMetricServices


                entityMetric.setMatrix(matrix + "");
                entityMetric.setLog(out.getLog().toString());
                entityMetric.setClassServicesName(serviceClass.getName());
                dao.edit(entityMetric);

                final AbstractBichoMetricServices services = createMetricServiceInstance(params, matrix);

                Thread process = new Thread(services) {
                    @Override
                    public void run() {
                        try {
                            if (!canceled) {
                                out.setCurrentProcess("Iniciando coleta dos dados para geração da metrica.");
                                super.run();
                                out.printLog(services.getNodes().size() + " Registros coletados!");
                            }
                            progress += fraction / 2;
                            out.printLog("");
                            if (!canceled) {
                                out.setCurrentProcess("Iniciando salvamento dos dados gerados.");
                                entityMetric.setNodes(services.getMetricNodes());
                                for (EntityMetricNode node : services.getMetricNodes()) {
                                    node.setMetric(entityMetric);
                                }
                                entityMetric.setComplete(true);
                                dao.edit(entityMetric);
                                out.printLog("Salvamento dos dados concluído!");
View Full Code Here

TOP

Related Classes of br.edu.utfpr.cm.minerador.services.metric.AbstractBichoMetricServices

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.