QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.hte.HierarchicalTrialAndError Class Reference

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.

Detailed Description

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.

Definition at line 143 of file hte.py.

Member Function Documentation

◆ run()

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.

Definition at line 206 of file hte.py.

◆ stats()

qdpy.algorithms.hte.HierarchicalTrialAndError.stats ( self)
Return costs for construction-independent online deployment.

Definition at line 190 of file hte.py.


The documentation for this class was generated from the following file: