The only way of specifing rules in the Dictionary class is via a string. The idea is to make an API to be able to specify well-formed rules
(eg. with respect of proper quoting, literals, etc)
Implementation Ideas
- Add an
add_rule(rule_name, *args) method that takes as first argument a rule name and the rest are the rule arguments
- Check the rule exists in Khiops
- Maybe add some basic type checking for each rule
- The type of each rule argument can be:
- a constant,
- a value
- a rule name
The only way of specifing rules in the
Dictionaryclass is via a string. The idea is to make an API to be able to specify well-formed rules(eg. with respect of proper quoting, literals, etc)
Implementation Ideas
add_rule(rule_name, *args)method that takes as first argument a rule name and the rest are the rule arguments