|
QDpy
|
Plan primary displacements and adapt secondary compositions. More...
Public Member Functions | |
| stats (self) | |
| run (self, state, goal, execute, *, max_trials, traversable=None, adapt=True) | |
| Execute an upper-layer plan using one callback per primitive. | |
Plan primary displacements and adapt secondary compositions.
Deploy a built hierarchy using RTE and a secondary error model. Each occupied primary cell supplies one nominal displacement from its highest-quality composition. The primary planner uses online residual GPs and MCTS. A second GP predicts error relative to that nominal displacement from primary and secondary descriptors. Its lower confidence bound chooses a measured composition in the cell.
| qdpy.algorithms.hte.HierarchicalTrialAndError.run | ( | self, | |
| state, | |||
| goal, | |||
| execute, | |||
| * | , | ||
| max_trials, | |||
| traversable = None, | |||
| adapt = True ) |
Execute an upper-layer plan using one callback per primitive.
Return an HTEPath on a budget of macro trials. Execute receives (state, primitive_genome) and returns the new state. Traversable tests predicted primary transitions in the planner. The caller may enforce its own rules during execution.
| qdpy.algorithms.hte.HierarchicalTrialAndError.stats | ( | self | ) |