Class InstanceSolverRunner
java.lang.Object
org.btrplace.scheduler.choco.runner.single.InstanceSolverRunner
- All Implemented Interfaces:
Callable<SolvingStatistics>
public class InstanceSolverRunner extends Object implements Callable<SolvingStatistics>
A basic solver that solve a whole instance.
Use
call()
to compute a solution- Author:
- Fabien Hermenier
-
Constructor Summary
Constructors Constructor Description InstanceSolverRunner(Parameters ps, Instance i)
Make a new runner. -
Method Summary
Modifier and Type Method Description SolvingStatistics
call()
SingleRunnerStatistics
getStatistics()
Get the statistics about the solving process.void
stop()
Stop the solver.
-
Constructor Details
-
InstanceSolverRunner
Make a new runner.- Parameters:
ps
- the parameters for the solving processi
- the instance to solve
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<SolvingStatistics>
- Throws:
SchedulerException
-
getStatistics
Get the statistics about the solving process.- Returns:
- the statistics
-
stop
public void stop()Stop the solver.
-