Herb-AI / HerbConstraints.jl

Constraints for Herb.jl
https://herb-ai.github.io/
MIT License
0 stars 0 forks source link

Start Ordered constraint propagation before all holes are filled #10

Open jaapdejong15 opened 1 year ago

jaapdejong15 commented 1 year ago

Ordered(MatchNode(2, [MatchVar(:a), MatchVar(:b), MatchVar(:c)]), [:a, :b, :c]) is not as efficient as it can be, because it only starts to do anything when there are no holes left, which makes it possible to get things like 3, 2, ?? before the ordered constraint starts to have an effect.

To fix this, we need to: