Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
Scheduling

resource-timeline

Resource timelines for onboard scheduling: energy, memory, thermal and communication budgets with explained violations, envelopes and allocation-free storage

cargo add resource-timeline

Who it is for

  • Flight software and mission operations engineers who place activities on a spacecraft or rover and need to know whether battery, memory, data volume, instruments or comm windows hold up, onboard or on the ground before uplink.
  • Developers of onboard or embedded schedulers that need checked arithmetic, explicit budgets and no heap.
  • Planners and replanners that want a violation explained (the tick, the level and the activities involved) instead of a bare "infeasible".
  • Game AI and simulation developers whose agents spend stamina, ammunition, storage or build capacity over game ticks, as in colony, strategy and survival games. Earliest-start search answers when an agent can afford an action, interval claims model shared workstations and cooldowns, end-state targets check a build order against a scouted attack, and the allocation-free variants keep checks off the heap inside a frame. See examples/colony.rs and examples/rush.rs.
  • For the timing side of the same schedule (whether its temporal constraints can be met under uncertain durations, and executing it), use temporal-control. The two crates share only a convention (i64 ticks, half-open intervals) and no dependency, because temporal controllability does not imply resource safety and both checks have to run.

Algorithms 3