|
| | __init__ (self, RecedingProblem problem, np.ndarray K, PatrolPD nominal, Proposer|None proposer, RecedingConfig config=RecedingConfig(), ISTLSettings settings=ISTLSettings(), EnergyMeter|None meter=None) |
| |
| None | reset (self) |
| |
| ISTLResult | initial_plan (self, np.ndarray x0) |
| |
| tuple[np.ndarray, dict] | step (self, int k, np.ndarray x) |
| |
|
| History | _measured_history (self, int k_root) |
| |
| History | _delayed_history (self, int k, int k_root) |
| |
| tuple[np.ndarray, np.ndarray] | _mission_reference (self, int k_root, np.ndarray x0) |
| |
| int | _waypoint_index (self, int k) |
| |
| _Pending | _solve (self, int k, np.ndarray x0, int root_step, int|None root_age, History history, tuple[np.ndarray, np.ndarray]|None start, float|None time_limit=None) |
| |
| None | _request (self, int k, np.ndarray x) |
| |
| str|None | _release (self, int k) |
| |
| tuple[bool, dict] | _query_policy (self, int k, np.ndarray x) |
| |
◆ __init__()
◆ _delayed_history()
| History rl_stl.supervisor.receding.RecedingSupervisor._delayed_history |
( |
|
self, |
|
|
int |
k, |
|
|
int |
k_root |
|
) |
| |
|
protected |
Measured samples up to ``k``, cached nominal (with tube ages) for ``k < t < k_root``.
◆ _measured_history()
| History rl_stl.supervisor.receding.RecedingSupervisor._measured_history |
( |
|
self, |
|
|
int |
k_root |
|
) |
| |
|
protected |
History for a plan rooted at ``k_root`` using measured samples only (``k_root <= k``).
◆ _mission_reference()
| tuple[np.ndarray, np.ndarray] rl_stl.supervisor.receding.RecedingSupervisor._mission_reference |
( |
|
self, |
|
|
int |
k_root, |
|
|
np.ndarray |
x0 |
|
) |
| |
|
protected |
``(x_nom (N+1, n), u_nom (N, m))`` for a plan rooted at step ``k_root`` in state ``x0``.
◆ _query_policy()
| tuple[bool, dict] rl_stl.supervisor.receding.RecedingSupervisor._query_policy |
( |
|
self, |
|
|
int |
k, |
|
|
np.ndarray |
x |
|
) |
| |
|
protected |
◆ _release()
| str | None rl_stl.supervisor.receding.RecedingSupervisor._release |
( |
|
self, |
|
|
int |
k |
|
) |
| |
|
protected |
◆ _request()
| None rl_stl.supervisor.receding.RecedingSupervisor._request |
( |
|
self, |
|
|
int |
k, |
|
|
np.ndarray |
x |
|
) |
| |
|
protected |
◆ _solve()
| _Pending rl_stl.supervisor.receding.RecedingSupervisor._solve |
( |
|
self, |
|
|
int |
k, |
|
|
np.ndarray |
x0, |
|
|
int |
root_step, |
|
|
int | None |
root_age, |
|
|
History |
history, |
|
|
tuple[np.ndarray, np.ndarray] | None |
start, |
|
|
float | None |
time_limit = None |
|
) |
| |
|
protected |
◆ _waypoint_index()
| int rl_stl.supervisor.receding.RecedingSupervisor._waypoint_index |
( |
|
self, |
|
|
int |
k |
|
) |
| |
|
protected |
◆ initial_plan()
| ISTLResult rl_stl.supervisor.receding.RecedingSupervisor.initial_plan |
( |
|
self, |
|
|
np.ndarray |
x0 |
|
) |
| |
``t = 0-`` solve from the measured initial state (time not counted against latency).
◆ reset()
| None rl_stl.supervisor.receding.RecedingSupervisor.reset |
( |
|
self | ) |
|
◆ step()
| tuple[np.ndarray, dict] rl_stl.supervisor.receding.RecedingSupervisor.step |
( |
|
self, |
|
|
int |
k, |
|
|
np.ndarray |
x |
|
) |
| |
Command ``u`` (synthesis-model input) at step ``k`` for measured state ``x``.
◆ cache_models
| rl_stl.supervisor.receding.RecedingSupervisor.cache_models |
◆ cfg
| rl_stl.supervisor.receding.RecedingSupervisor.cfg |
| rl_stl.supervisor.receding.RecedingSupervisor.h |
| rl_stl.supervisor.receding.RecedingSupervisor.K |
◆ meter
| rl_stl.supervisor.receding.RecedingSupervisor.meter |
◆ nominal
| rl_stl.supervisor.receding.RecedingSupervisor.nominal |
| rl_stl.supervisor.receding.RecedingSupervisor.p |
◆ pending
| rl_stl.supervisor.receding.RecedingSupervisor.pending |
◆ plan
| rl_stl.supervisor.receding.RecedingSupervisor.plan |
◆ proposer
| rl_stl.supervisor.receding.RecedingSupervisor.proposer |
◆ reference
| rl_stl.supervisor.receding.RecedingSupervisor.reference |
◆ settings
| rl_stl.supervisor.receding.RecedingSupervisor.settings |
◆ y_meas
| rl_stl.supervisor.receding.RecedingSupervisor.y_meas |
The documentation for this class was generated from the following file:
- /home/runner/work/rl-stl/rl-stl/src/rl_stl/supervisor/receding.py