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

## Class EntityRatioTabuSizeStrategy

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

- All Implemented Interfaces:
    TabuSizeStrategy

      public class EntityRatioTabuSizeStrategy
      extends AbstractTabuSizeStrategy

- - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityRatioTabuSizeStrategy(double tabuRatio)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `determineTabuSize(LocalSearchStepScope 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

    - #### EntityRatioTabuSizeStrategy

          public EntityRatioTabuSizeStrategy(double tabuRatio)

  - ### Method Detail

    - #### determineTabuSize

          public int determineTabuSize(LocalSearchStepScope stepScope)

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

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.