除了硬介质和软之外,如何在 optaplanner 中添加更多级别来得分?

How to add more levels to score in optaplanner other than Hard medium and soft?

我有HardMediumSoftScore,我想再增加一级(4个阶段) 硬、硬、中、软。

检查 BendableScore,它具有可配置的硬分数和软分数级别。

有关详细信息,请查看 OptaPlanner 文档中的 related section