我有一個基於TaskPlanning示例的簡單規則。它看起來像這樣: rule "It is better if user does not overexceeds its hours"
when
$emp : Employee()
$task : Task($taskType : taskType, employee == $emp)
accumu
我正在嘗試進行自定義構建啓發式階段。階段配置擴展了AbstractPhaseConfig,XStream無法弄清楚它應該添加到phaseConfigList中。它試圖將類分配給它自己的類變量。 LocalSearchPhaseConfig完美地工作。 XML <solver>
<customConstructionHeuristic></customConstructionHeurist