public class CompositeAcceptor extends AbstractAcceptor
Modifier and Type | Field and Description |
---|---|
protected List<Acceptor> |
acceptorList |
logger
Constructor and Description |
---|
CompositeAcceptor(Acceptor... acceptors) |
CompositeAcceptor(List<Acceptor> acceptorList) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAccepted(LocalSearchMoveScope moveScope) |
void |
phaseEnded(LocalSearchPhaseScope phaseScope) |
void |
phaseStarted(LocalSearchPhaseScope phaseScope) |
void |
solvingEnded(DefaultSolverScope solverScope) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
stepEnded(LocalSearchStepScope stepScope) |
void |
stepStarted(LocalSearchStepScope stepScope) |
public CompositeAcceptor(Acceptor... acceptors)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in interface SolverLifecycleListener
solvingStarted
in class SolverLifecycleListenerAdapter
public void phaseStarted(LocalSearchPhaseScope phaseScope)
phaseStarted
in interface LocalSearchPhaseLifecycleListener
phaseStarted
in class LocalSearchPhaseLifecycleListenerAdapter
public void stepStarted(LocalSearchStepScope stepScope)
stepStarted
in interface LocalSearchPhaseLifecycleListener
stepStarted
in class LocalSearchPhaseLifecycleListenerAdapter
public boolean isAccepted(LocalSearchMoveScope moveScope)
moveScope
- not nullpublic void stepEnded(LocalSearchStepScope stepScope)
stepEnded
in interface LocalSearchPhaseLifecycleListener
stepEnded
in class LocalSearchPhaseLifecycleListenerAdapter
public void phaseEnded(LocalSearchPhaseScope phaseScope)
phaseEnded
in interface LocalSearchPhaseLifecycleListener
phaseEnded
in class LocalSearchPhaseLifecycleListenerAdapter
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in interface SolverLifecycleListener
solvingEnded
in class SolverLifecycleListenerAdapter
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.