Package org.drools.planner.benchmark.api

Examples of org.drools.planner.benchmark.api.PlannerBenchmark


    protected CommonBenchmarkApp(String benchmarkConfig) {
        plannerBenchmarkFactory = new XmlPlannerBenchmarkFactory().configure(benchmarkConfig);
    }

    public void process() {
        PlannerBenchmark plannerBenchmark = plannerBenchmarkFactory.buildPlannerBenchmark();
        plannerBenchmark.benchmark();
    }
View Full Code Here


    protected abstract String createBenchmarkConfigResource();

    protected void runBenchmarkTest(File unsolvedDataFile) {
        XmlPlannerBenchmarkFactory plannerBenchmarkFactory = buildPlannerBenchmarkFactory(unsolvedDataFile);
        PlannerBenchmark plannerBenchmark = plannerBenchmarkFactory.buildPlannerBenchmark();
        plannerBenchmark.benchmark();
    }
View Full Code Here

public abstract class CommonBenchmarkApp extends LoggingMain {

    public void buildAndBenchmark(String benchmarkConfig) {
        XmlPlannerBenchmarkFactory plannerBenchmarkFactory = new XmlPlannerBenchmarkFactory()
                .configure(benchmarkConfig);
        PlannerBenchmark plannerBenchmark = plannerBenchmarkFactory.buildPlannerBenchmark();
        plannerBenchmark.benchmark();
    }
View Full Code Here

    }

    public void buildFromTemplateAndBenchmark(String benchmarkConfigTemplate) {
        XmlPlannerBenchmarkFactory plannerBenchmarkFactory = new XmlPlannerBenchmarkFactory()
                .configureFromTemplate(benchmarkConfigTemplate);
        PlannerBenchmark plannerBenchmark = plannerBenchmarkFactory.buildPlannerBenchmark();
        plannerBenchmark.benchmark();
    }
View Full Code Here

TOP

Related Classes of org.drools.planner.benchmark.api.PlannerBenchmark

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.