public class AndCompositeTermination extends AbstractCompositeTermination
terminationListlogger| Constructor and Description | 
|---|
AndCompositeTermination(List<Termination> terminationList)  | 
AndCompositeTermination(Termination... terminations)  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
calculatePhaseTimeGradient(AbstractPhaseScope phaseScope)
Calculates the minimum timeGradient of all Terminations. 
 | 
double | 
calculateSolverTimeGradient(DefaultSolverScope solverScope)
Calculates the minimum timeGradient of all Terminations. 
 | 
AndCompositeTermination | 
createChildThreadTermination(DefaultSolverScope solverScope,
                            ChildThreadType childThreadType)
 | 
boolean | 
isPhaseTerminated(AbstractPhaseScope phaseScope)
Called by the  
Phase after every step and every move to determine if the search should stop. | 
boolean | 
isSolverTerminated(DefaultSolverScope solverScope)
Called by the  
Solver after every phase to determine if the search should stop. | 
String | 
toString()  | 
createChildThreadTerminationList, phaseEnded, phaseStarted, solvingEnded, solvingStarted, stepEnded, stepStartedpublic AndCompositeTermination(List<Termination> terminationList)
public AndCompositeTermination(Termination... terminations)
public boolean isSolverTerminated(DefaultSolverScope solverScope)
TerminationSolver after every phase to determine if the search should stop.solverScope - never nullpublic boolean isPhaseTerminated(AbstractPhaseScope phaseScope)
TerminationPhase after every step and every move to determine if the search should stop.phaseScope - never nullpublic double calculateSolverTimeGradient(DefaultSolverScope solverScope)
solverScope - never nullpublic double calculatePhaseTimeGradient(AbstractPhaseScope phaseScope)
phaseScope - never nullpublic AndCompositeTermination createChildThreadTermination(DefaultSolverScope solverScope, ChildThreadType childThreadType)
TerminationcreateChildThreadTermination in interface TerminationcreateChildThreadTermination in class AbstractTerminationsolverScope - never nullchildThreadType - never nullCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.