Package org.evolizer.daforjava.polymetricviews.model

Examples of org.evolizer.daforjava.polymetricviews.model.INormalizer


                NodeRealizer realizer = graph.getRealizer(nodes[i]);
                String metricIdentifier = updater.getMetricToRepresent();
//                if(!metricIdentifier.equalsIgnoreCase(PolymetricViewControllerView.METRIC_UNIFORM)) {
                    if (dataCollector.containsEntry(entity, metricIdentifier)) {
                        float value = dataCollector.getValue(entity, metricIdentifier);
                        INormalizer normalizer = updater.getNormalizer();

                        float normalizedVal = normalizer.normalize(value, dataCollector.getMaxValue(metricIdentifier, entity.getClass()));
                        if (!(entity instanceof AbstractFamixVariable)) {
                            updater.updateNodeRealizer(realizer, normalizedVal);
                        }
                    } else {
//                        sLogger.error("No metric data found for metric: " + updater.getAttributeToRepresent());
View Full Code Here

TOP

Related Classes of org.evolizer.daforjava.polymetricviews.model.INormalizer

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.