dollabs / pamela

Probabalistic Advanced Modeling and Execution Learning Architecture
Apache License 2.0
233 stars 15 forks source link

Add probability to defpmethod #148

Closed dcerys closed 6 years ago

dcerys commented 6 years ago

Add :probability to defpmethod (cond in the ebnf), and to the IR representation Default probability should be 1.0

(Note beyond the scope of this issue: When multiple methods are available for the same name and arity, a choose will be created at HTN/TPN generation, and the method attributes (e.g., probability, cost) will be added to the choice.)