Skip to main content

temporal_control/
lib.rs

1//! # Temporal control
2//!
3//! Simple temporal networks with uncertainty: dynamic controllability checking and dispatchable execution for `no_std` targets.
4//!
5//! ## Planned scope
6//!
7//! - Simple Temporal Networks (STN)
8//! - STNs with Uncertainty (STNU) and dynamic controllability
9//! - Dispatchable network generation
10//! - Small, bounded-memory onboard dispatcher
11//! - Explanations of inconsistency and non-controllability
12//!
13//! ## Status
14//!
15//! Pre-release. Version 0.0.0 reserves the name; the API is not started yet and will change.
16//!
17//! Repository: <https://github.com/sunsided/temporal-control>
18
19#![no_std]
20
21/// A point or duration in time, in integer ticks.
22///
23/// Integer ticks keep arithmetic deterministic across targets.
24#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
25pub struct Ticks(pub i64);