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

## Class ValueRatioTabuSizeStrategy<Solution_>

- java.lang.Object
- - org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy<Solution_>
  - - org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.ValueRatioTabuSizeStrategy<Solution_>

- All Implemented Interfaces:
    `TabuSizeStrategy<Solution_>`

      public class ValueRatioTabuSizeStrategy<Solution_>
      extends AbstractTabuSizeStrategy<Solution_>

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected double` | `tabuRatio` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ValueRatioTabuSizeStrategy​(double tabuRatio)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `determineTabuSize​(LocalSearchStepScope<Solution_> stepScope)` |

    - ### Methods inherited from class org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy

      `protectTabuSizeCornerCases`

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

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

- - ### Field Detail

    - #### tabuRatio

          protected final double tabuRatio

  - ### Constructor Detail

    - #### ValueRatioTabuSizeStrategy

          public ValueRatioTabuSizeStrategy​(double tabuRatio)

  - ### Method Detail

    - #### determineTabuSize

          public int determineTabuSize​(LocalSearchStepScope<Solution_> stepScope)

      Parameters:
        `stepScope` - never null
      Returns:
        `>= 0`