1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/// Networked control systems: event-triggered sampling, self-triggered control,
/// and multi-agent consensus protocols.
///
/// This module provides no-std, allocation-free implementations of:
///
/// - **Event-triggered control** — static (Tabuada 2007) and dynamic event
/// triggers that reduce communication bandwidth by transmitting state
/// information only when a trigger condition is violated.
/// - **Self-triggered control** — precomputes the next required sampling instant
/// from the current state, eliminating continuous monitoring entirely.
/// - **Multi-agent consensus** — leaderless average consensus, leader-following
/// consensus, and distributed gradient descent (ADMM-lite) over fixed graphs.
///
/// All implementations are generic over `S: ControlScalar` and use const-generic
/// arrays for zero heap allocation (`no_std` compatible).
// ── re-exports ─────────────────────────────────────────────────────────────────
pub use ;
pub use ;
pub use ;
// ── error type ─────────────────────────────────────────────────────────────────
/// Errors that can arise in networked control computations.