Este conteúdo não está disponível no idioma selecionado.

Chapter 16. Configure a planning entity difficulty comparator


Specified on Planning Entity level, a difficulty comparator provides a way to determine which planning entities are more difficult to plan. This helps optimization algorithms to work in an efficient manner. Refer to OptaPlanner documentation for more details.

Prerequisite

You have selected Planning Entity on a data object in the Data Object editor and the difficulty comparator definition tool is available in the Red Hat Business Optimizer Domain editor in the Data Object perspective.

Procedure

  1. Click Add condition to add new sorting criteria for given planning entity.
  2. Once the condition is added, click Add field to select fields that will be used for difficulty comparison.

    There are two types of fields:

    • Basic - value types (for example, number, String)
    • Data object - complex types having nested attributes

      Data object types allow nesting deep into object hierarchy until a basic type is encountered. When this occurs, the Add field button is no longer displayed.

      Sorting criteria are ordered. The ones defined first are prioritized when Red Hat Business Optimizer engine resolves planning entity difficulty.

  3. To remove a field from the sorting criteria, click the x icon within the label. If the field is of type Data object, removing it will remove all its children as well.

    • Click Arrow up, Arrow down to change the priority of the criterion by moving it up/down.
    • Select Sort order icon to define whether the planning entity criteria is sorted in ascending or descending order.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat