@Override
    public void phaseStarted(LocalSearchPhaseScope phaseScope) {
        super.phaseStarted(phaseScope);
        LocalSearchStepScope lastCompletedStepScope = phaseScope.getLastCompletedStepScope();
        // Tabu sizes do not change during stepStarted(), because they must be in sync with the tabuSequenceList.size()
        workingTabuSize = tabuSizeStrategy == null ? 0 : tabuSizeStrategy.determineTabuSize(lastCompletedStepScope);
        workingFadingTabuSize = fadingTabuSizeStrategy == null ? 0 : fadingTabuSizeStrategy.determineTabuSize(lastCompletedStepScope);
        int totalTabuListSize = workingTabuSize + workingFadingTabuSize; // is at least 1
        tabuToStepIndexMap = new HashMap<>(totalTabuListSize);
        tabuSequenceDeque = new ArrayDeque<>();
    }
@Override
    public void phaseStarted(LocalSearchPhaseScope phaseScope) {
        super.phaseStarted(phaseScope);
        LocalSearchStepScope lastCompletedStepScope = phaseScope.getLastCompletedStepScope();
        
        workingTabuSize = tabuSizeStrategy == null ? 0 : tabuSizeStrategy.determineTabuSize(lastCompletedStepScope);
        workingFadingTabuSize = fadingTabuSizeStrategy == null ? 0 : fadingTabuSizeStrategy.determineTabuSize(lastCompletedStepScope);
        int totalTabuListSize = workingTabuSize + workingFadingTabuSize; 
        tabuToStepIndexMap = new HashMap<>(totalTabuListSize);
        tabuSequenceDeque = new ArrayDeque<>();
    }
@ Override public void phaseStarted ( LocalSearchPhaseScope phaseScope ) { super . phaseStarted ( phaseScope ) ; LocalSearchStepScope lastCompletedStepScope = phaseScope . getLastCompletedStepScope ( ) ; // Tabu sizes do not change during stepStarted(), because they must be in sync with the tabuSequenceList.size() workingTabuSize = tabuSizeStrategy == null ? 0 : tabuSizeStrategy . determineTabuSize ( lastCompletedStepScope ) ; workingFadingTabuSize = fadingTabuSizeStrategy == null ? 0 : fadingTabuSizeStrategy . determineTabuSize ( lastCompletedStepScope ) ; int totalTabuListSize = workingTabuSize + workingFadingTabuSize ; // is at least 1 tabuToStepIndexMap = new HashMap <> ( totalTabuListSize ) ; tabuSequenceDeque = new ArrayDeque <> ( ) ; }
************************************************************************
************************************************************************