Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.localsearch.decider.deciderscorecomparator
Interface DeciderScoreComparatorFactory

All Superinterfaces:
  EventListener, LocalSearchPhaseLifecycleListener, SolverLifecycleListener

All Known Implementing Classes:
  AbstractDeciderScoreComparatorFactory, NaturalDeciderScoreComparatorFactory, ShiftingHardPenaltyDeciderScoreComparatorFactory

    public interface DeciderScoreComparatorFactory

extends LocalSearchPhaseLifecycleListener

A DeciderScoreComparatorFactory creates a new DeciderScoreComparator each step, which compares 2 scores to decide the next step. That Score Comparator can consider shifting penalty, aging penalty, ... in which case it differs from the natural ordering of scores.

Method Summary
`Comparator<Score>` | `createDeciderScoreComparator()`

Methods inherited from interface org.optaplanner.core.impl.localsearch.event.LocalSearchPhaseLifecycleListener
`phaseEnded, phaseStarted, stepEnded, stepStarted`

Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener
`solvingEnded, solvingStarted`

Method Detail

### createDeciderScoreComparator

    Comparator<Score> createDeciderScoreComparator()

  Returns:
    never null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.