Class InverseMatchSwapMoveFilter

java.lang.Object
org.optaplanner.examples.travelingtournament.solver.move.factory.InverseMatchSwapMoveFilter
All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<TravelingTournament,org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>

public class InverseMatchSwapMoveFilter extends Object implements org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<TravelingTournament,org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>
  • Constructor Details

    • InverseMatchSwapMoveFilter

      public InverseMatchSwapMoveFilter()
  • Method Details

    • accept

      public boolean accept(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> scoreDirector, org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove move)
      Specified by:
      accept in interface org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<TravelingTournament,org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>