org.optaplanner.core.impl.heuristic.selector.value.decorator

## Class MovableChainedTrailingValueFilter<Solution_>

- java.lang.Object
- - org.optaplanner.core.impl.heuristic.selector.value.decorator.MovableChainedTrailingValueFilter<Solution_>

- Type Parameters:
    `Solution_` - the solution type, the class with the `PlanningSolution` annotation
  All Implemented Interfaces:
    SelectionFilter<Solution_,Object>

      public class MovableChainedTrailingValueFilter<Solution_>
      extends Object
      implements SelectionFilter<Solution_,Object>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MovableChainedTrailingValueFilter(GenuineVariableDescriptor<Solution_> variableDescriptor)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `accept(ScoreDirector<Solution_> scoreDirector, Object value)`
    `protected SingletonInverseVariableSupply` | `retrieveSingletonInverseVariableSupply(ScoreDirector<Solution_> scoreDirector)`

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

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

- - ### Constructor Detail

    - #### MovableChainedTrailingValueFilter

          public MovableChainedTrailingValueFilter(GenuineVariableDescriptor<Solution_> variableDescriptor)

  - ### Method Detail

    - #### accept

          public boolean accept(ScoreDirector<Solution_> scoreDirector,
                                Object value)

      Specified by:
        `accept` in interface `SelectionFilter<Solution_,Object>`
      Parameters:
        `scoreDirector` - never null, the `ScoreDirector` which has the `ScoreDirector.getWorkingSolution()` to which the selection belongs or applies to
        `value` - never null, a `PlanningEntity`, a planningValue, a `Move` or a `Selector`
      Returns:
        true if the selection is accepted (for example it is movable), false if the selection will be discarded (for example it is immovable)

    - #### retrieveSingletonInverseVariableSupply

          protected SingletonInverseVariableSupply retrieveSingletonInverseVariableSupply(ScoreDirector<Solution_> scoreDirector)

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