此内容没有您所选择的语言版本。

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.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat