ptrefall / fluid-hierarchical-task-network

A simple HTN planner based around the principles of the Builder pattern.
MIT License
344 stars 47 forks source link

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

Closed ptrefall closed 6 months ago

ptrefall commented 10 months ago

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

How Has This Been Tested?

Checklist: