System reference

A switched system is the input to every problem. See Systems and problems for the concepts.

Systems

PathCompleteCertificates.n_modes — Method
n_modes(system)

The number of modes of system. Throws on a system whose automaton restricts the switching: constrained switching is not supported.

source
PathCompleteCertificates.switched_system — Function
switched_system(A)
switched_system(A, B)

The discrete-time switched linear system x⁺ = A_σ x or x⁺ = A_σ x + B_σ u, with A and B indexed by mode, under arbitrary switching.

source

Trajectories and simulation

PathCompleteCertificates.Trajectory — Type
Trajectory

One run of a switched system: the states visited, the switching sequence taken and the inputs applied, nothing if there were none. Its length is the number of steps.

source
PathCompleteCertificates.simulate — Method
simulate(system, x0, modes; u = nothing)
simulate(system, x0, horizon::Integer; u = nothing, rng = Random.default_rng())

Run system from x0 along modes, or along horizon modes drawn uniformly at random, and return a Trajectory. u, a vector of inputs or a feedback law u(x), is required exactly when has_input(system), and simulate throws otherwise.

source