AI-Planning / AI-Planning/macq

Refactor extraction

未关闭
#125 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
Python
星标
25
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

## Tasks
- [ ] Create subfolders, `methods` and `model`, inside of the `macq/extract` folder.
- [ ] `model.py` and `learned_*` can move to `model`; methods move to `methods`; `extract.py` stays put
- For now, keep the imports in `extract/__init__.py` flat (so this is just moving around the files)
- [ ] Shift `to_pddl` methods to the `Learned*` objects. If `f` is a `LearnedFluent`, then `f.to_pddl()` should return a `pddl` fluent.
- [ ] The `model.py::to_pddl` method should recursively call the appropriate things on `LearnedAction` and `LearnedFluent` objects. This will improve over time, as the complexity of `Model` changes.
- [ ] Use the most general form of `pddl` that the representation allows (so parameters, objects, types, etc, if available).

## Notes
- Depends on #124

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。