OptaPlanner core 6.1.0.Beta2

org.optaplanner.core.api.solver
Interface SolverFactory

All Known Implementing Classes:
XmlSolverFactory

public interface SolverFactory

Builds a Solver.

See Also:
XmlSolverFactory

Method Summary
 Solver buildSolver()
          Creates a new Solver instance.
 SolverConfig getSolverConfig()
          Allows you to problematically change the SolverConfig at runtime before building the Solver.
 

Method Detail

getSolverConfig

SolverConfig getSolverConfig()
Allows you to problematically change the SolverConfig at runtime before building the Solver.

Returns:
never null
Throws:
IllegalStateException - if no solverConfig was configured yet

buildSolver

Solver buildSolver()
Creates a new Solver instance.

Returns:
never null

OptaPlanner core 6.1.0.Beta2

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.