Graph reference

A certificate is built on a labelled graph: a HybridSystems.GraphAutomaton, one mode per edge, or a WordGraph, one word per edge. See Choosing a graph for what the predicates mean.

Queries

PathCompleteCertificates.incoming_edges — Method
incoming_edges(graph, node)
incoming_edges(graph, node, mode)

The edges entering node, optionally only those whose label is the single mode mode. An edge reading a word of several modes is never among the latter.

source
PathCompleteCertificates.outgoing_edges — Method
outgoing_edges(graph, node)
outgoing_edges(graph, node, mode)

The edges leaving node, optionally only those whose label is the single mode mode. An edge reading a word of several modes is never among the latter.

source

Word graphs

PathCompleteCertificates.expanded_form — Method
expanded_form(graph)

The graph with one mode per edge obtained by breaking every word edge (a, b, i₁…iₖ) into a chain a → m₁ → ⋯ → mₖ₋₁ → b through k − 1 new nodes. Nodes 1:n_nodes(graph) keep their number, and the new ones follow.

source

Path-completeness

PathCompleteCertificates.is_co_complete — Method
is_co_complete(graph)
is_co_complete(graph, alphabet)

Whether every node has an incoming edge for every letter of alphabet, which is sufficient, not necessary, for is_path_complete. Without a second argument the alphabet is the modes graph uses. false on a graph with a word of several modes.

source
PathCompleteCertificates.is_complete — Method
is_complete(graph)
is_complete(graph, alphabet)

Whether every node has an outgoing edge for every letter of alphabet, which is sufficient, not necessary, for is_path_complete. Without a second argument the alphabet is the modes graph uses. false on a graph with a word of several modes.

source
PathCompleteCertificates.is_path_complete — Method
is_path_complete(graph)
is_path_complete(graph, alphabet)

Whether every switching sequence over alphabet labels a path of graph. Without a second argument the alphabet is the modes graph uses.

source

Dual graphs

PathCompleteCertificates.dual — Function
dual(x)
dual(template, V)

The dual of a graph, lift, operation, template, system, problem or certificate. dual(template, V) is the dual norm of a fitted node function V, as a member of dual(template).

source

Simulation

PathCompleteCertificates.simulation — Method
simulation(G, H) -> Union{Nothing, Vector{Int}}

A map R from the nodes of H to those of G such that (R(s), R(d), i) is an edge of G for every edge (s, d, i) of H, or nothing if none exists. Such a simulation proves that H is at least as good as G for every template (see Comparing graphs).

source

Constructions

PathCompleteCertificates.common_graph — Method
common_graph(system)
common_graph(n_modes)

One node with a loop per mode, the De Bruijn graph of order 0. Its certificate is a single function, for stability a common Lyapunov function.

source
PathCompleteCertificates.de_bruijn — Method
de_bruijn(order, n_modes)

The De Bruijn graph of order l = order on n_modes modes. It has a node per sequence (i₁, …, iₗ) of the last l modes, newest first, and an edge labelled σ from (i₁, …, iₗ) to (σ, i₁, …, iₗ₋₁). It is complete, hence path-complete. Order 0 is common_graph. The dual De Bruijn graph is dual(de_bruijn(order, n_modes)).

source
PathCompleteCertificates.observer_graph — Method
observer_graph(graph) -> (observer, states)
observer_graph(graph, alphabet) -> (observer, states)

The observer graph of graph. Its nodes are nonempty subsets of the nodes of graph, starting from the set of all of them, and there is an edge (P, Q, σ) when Q is the set of successors by σ of the nodes in P. states[k] is the subset that observer node k stands for.

source