Herb-AI / HerbConstraints.jl

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

Add a path datastructure to constraints #6

Open jaapdejong15 opened 1 year ago

jaapdejong15 commented 1 year ago

There should also be a path datastructure in the constraints, accompanying the tree datastructure. It should define a constraint on the path from the root to the current hole.

Furthermore, it should also support variables, e.g. 1-x-2, meaning that there is a variable number of nodes allowed between rulenode 1 and 2. This can be used to e.g. define the ComesAfter constraint.

Nice-to-haves: