balena-io-modules / mahler

A automated task composer and HTN based planner for building autonomous system agents.
Apache License 2.0
7 stars 1 forks source link

Refactor DAG definition and utilities #65

Closed pipex closed 6 months ago

pipex commented 6 months ago

Operations like manipulation and traversal of the plan DAG are re-implemented multiple times, adding unnecessary code repetition and introducing possible source of bugs as many of these implementations are not unit tested. This create an internal DAG module with shared functionality to use across the library.

This PR also refactors the rest of the code to use the new DAG module.

Change-type: minor

pipex commented 6 months ago

I self certify!

pipex commented 6 months ago

I self-certify!