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.api.domain.entity
Interface PlanningEntityDifficultyWeightFactory

All Known Subinterfaces:
  PlanningEntity.NullDifficultyWeightFactory

    public interface PlanningEntityDifficultyWeightFactory

Creates a difficultyWeight for a PlanningEntity. A difficultyWeight estimates how hard is to plan a certain PlanningEntity. Some algorithms benefit from planning on more difficult planning entities first or from focusing on them.

Method Summary
`Comparable` | `createDifficultyWeight(Solution solution, Object planningEntity)`

Method Detail

### createDifficultyWeight

    Comparable createDifficultyWeight(Solution solution,
                                      Object planningEntity)

  Parameters:
    `solution` - never null, the `Solution` to which the planningEntity belongs
    `planningEntity` - never null, the planningEntity to create the difficultyWeight for
  Returns:
    never null

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-2011 JBoss by Red Hat. All Rights Reserved.