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

## org.drools.planner.core.domain.variable
Class PlanningValueSorter

    java.lang.Object
      org.drools.planner.core.domain.variable.PlanningValueSorter

    public class PlanningValueSorter

extends Object

Helper class for `PlanningValueStrengthWeightFactory`.

See Also:
  `PlanningValueStrengthWeightFactory`

Constructor Summary
`PlanningValueSorter()`

Method Summary
`boolean` | `isSortStrengthSupported()`
`void` | `setStrengthComparator(Comparator<Object> strengthComparator)`
`void` | `setStrengthWeightFactory(PlanningValueStrengthWeightFactory strengthWeightFactory)`
`void` | `sortStrengthAscending(Solution solution, List<Object> planningValueList)`
`void` | `sortStrengthDescending(Solution solution, List<Object> planningEntityList)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PlanningValueSorter

    public PlanningValueSorter()

Method Detail

### setStrengthComparator

    public void setStrengthComparator(Comparator<Object> strengthComparator)

### setStrengthWeightFactory

    public void setStrengthWeightFactory(PlanningValueStrengthWeightFactory strengthWeightFactory)

### isSortStrengthSupported

    public boolean isSortStrengthSupported()

### sortStrengthAscending

    public void sortStrengthAscending(Solution solution,
                                      List<Object> planningValueList)

### sortStrengthDescending

    public void sortStrengthDescending(Solution solution,
                                       List<Object> planningEntityList)

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

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.