Package org.optaplanner.benchmark.impl.statistic

Examples of org.optaplanner.benchmark.impl.statistic.SingleStatistic


    public void initSingleStatisticMap() {
        effectiveSingleStatisticMap = new HashMap<StatisticType, SingleStatistic>(
                problemBenchmarkResult.getProblemStatisticList().size());
        for (ProblemStatistic problemStatistic : problemBenchmarkResult.getProblemStatisticList()) {
            SingleStatistic singleStatistic = problemStatistic.createSingleStatistic(this);
            effectiveSingleStatisticMap.put(singleStatistic.getStatisticType(), singleStatistic);
        }
        for (PureSingleStatistic pureSingleStatistic : pureSingleStatisticList) {
            effectiveSingleStatisticMap.put(pureSingleStatistic.getStatisticType(), pureSingleStatistic);
        }
    }
View Full Code Here

TOP

Related Classes of org.optaplanner.benchmark.impl.statistic.SingleStatistic

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.