Class DefaultPartitionedSearchPhaseFactory<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.AbstractPhaseFactory<Solution_,PartitionedSearchPhaseConfig>
org.optaplanner.core.impl.partitionedsearch.DefaultPartitionedSearchPhaseFactory<Solution_>
- All Implemented Interfaces:
PhaseFactory<Solution_>
public class DefaultPartitionedSearchPhaseFactory<Solution_>
extends AbstractPhaseFactory<Solution_,PartitionedSearchPhaseConfig>
-
Field Summary
Fields inherited from class org.optaplanner.core.impl.phase.AbstractPhaseFactory
phaseConfig
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbuildPhase
(int phaseIndex, HeuristicConfigPolicy<Solution_> solverConfigPolicy, BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> solverTermination) protected int
protected Integer
resolveActiveThreadCount
(String runnablePartThreadLimit) Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhaseFactory
buildPhaseTermination
-
Constructor Details
-
DefaultPartitionedSearchPhaseFactory
-
-
Method Details
-
buildPhase
public PartitionedSearchPhase<Solution_> buildPhase(int phaseIndex, HeuristicConfigPolicy<Solution_> solverConfigPolicy, BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> solverTermination) -
resolveActiveThreadCount
-
getAvailableProcessors
protected int getAvailableProcessors()
-