fluid-hierarchical-task-network icon indicating copy to clipboard operation
fluid-hierarchical-task-network copied to clipboard

Improved code complexity of Domain's FindPlan and Planner's Tick.

Open ptrefall opened this issue 2 years ago • 0 comments

Improved Method Complexity

Description

I decided to break up FindPlan of Domain and Tick of Planner into smaller functions, to ease the complexity a bit. Hopefully should make the code easier to follow and make it easier to make custom modifications too.

Type of change

  • [x] Code cleanup

How Has This Been Tested?

  • [x] All unit tests still pass

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

ptrefall avatar Jan 06 '24 10:01 ptrefall