My planning variable is Boolean.
I want to use changeMoves only, and I want to use a cartesian product of changeMove to have a coarser move. This is in my planner config:
<unionMoveSelector>
<changeMoveSelector/>
<cartesianProductMoveSelector>
<changeMoveSelector/>
<changeMoveSelector/>
<changeMoveSelector/>
<changeMoveSelector/>
<changeMoveSelector/>
</cartesianProductMoveSelector>
</unionMoveSelector>
How can I avoid to have "move not doable" half of the time?
At the moment, I often have for example:
Move index (5) not doable, ignoring move (... {false -> false})
Basically, I want a move that consists of switching the boolean state, which is always doable (false
becomes true
and true
becomes false
).
This is even worse for cartesian products of changeMoves, since I assume the move is ignored when one of the changeMove is not doable... So with n changeMoves, I have only a 1/2^n chance of getting a doable cartesian...
Do I have to create a custom move or is there any other way to do this?