Closed Whebon closed 5 months ago
Resolved merge conflicts, and verified that all tests passed with the following setup:
packages = [
PackageSpec(name="HerbConstraints", rev="dev"),
PackageSpec(name="HerbGrammar", rev="dev"),
PackageSpec(name="HerbCore"),
PackageSpec(name="HerbInterpret", rev="dev"),
PackageSpec(name="HerbSearch", rev="forbidden-path"),
PackageSpec(name="HerbSpecification", rev="dev")
]
Depends on https://github.com/Herb-AI/HerbConstraints.jl/pull/47 (merged)
This branch adds tests for two new constraints of the solver:
Unique(rule)
. enforces that a rule can be used at most once in a program treeForbiddenSequence(sequence)
. enforces that a sequence of rules cannot appear in any vertical path in the tree (gaps are allowed).