Package org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size

## Class AbstractTabuSizeStrategy

- java.lang.Object
- - org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy

- All Implemented Interfaces:
    `TabuSizeStrategy`
  Direct Known Subclasses:
    `EntityRatioTabuSizeStrategy`, `FixedTabuSizeStrategy`, `ValueRatioTabuSizeStrategy`

      public abstract class AbstractTabuSizeStrategy
      extends Object
      implements TabuSizeStrategy

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AbstractTabuSizeStrategy()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected int` | `protectTabuSizeCornerCases​(int totalSize, int tabuSize)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.TabuSizeStrategy

      `determineTabuSize`

- - ### Constructor Detail

    - #### AbstractTabuSizeStrategy

          public AbstractTabuSizeStrategy()

  - ### Method Detail

    - #### protectTabuSizeCornerCases

          protected int protectTabuSizeCornerCases​(int totalSize,
                                                   int tabuSize)