Placement of additional inputs and outputs#

Improvement of input and output configurations (NOCAD module 3).

Placement adds driver or sensor nodes to the matching-based configuration so that the relative order of the system does not exceed a bound, with five methods: grassroot and retrofit set covering, the centrality-based retrofit, mCLASA and GDFCMSA. improve_configuration() runs all of them for drivers and sensors and returns a comparison table (MATLAB extendData).

Set covering, centrality-based retrofit, mCLASA and GDFCMSA (NOCAD module 3).

Classes#

Placement([kind, method, r_max, n_add, ...])

Place additional driver or sensor nodes to bound the relative order.

Functions#

improve_configuration(adj, r_max[, beta, ...])

Compare the five placement methods for drivers and sensors (MATLAB extendData).

anneal(D, fixed, n_add[, method, beta, ...])

One simulated annealing run with n_add additional nodes.

annealing_placement(adj, fixed[, method, ...])

Add nodes by mCLASA or GDFCMSA (MATLAB mCLASArMax, GDFCMSArMax, ...addMax).

centrality_retrofit(adj, nodes, r_max[, ...])

Centrality-based retrofit (MATLAB analyseComponents).

greedy_set_cover(sets[, universe, fixed])

Greedy (Chvátal) set cover.

reach_within(adj, r_max)

Boolean matrix R[i, j]: \(x_j\) is reachable from \(x_i\) in at most \(r_{\max}\) steps (every node reaches itself).

set_cover(adj, r_max)

Grassroot set covering (MATLAB setCover): nodes whose \(r_{\max}\)-step reach covers the network.

set_cover_except(adj, r_max, selected)

Retrofit set covering (MATLAB setCoverExcept): keep selected and cover the rest.

configuration_cost(adj, nodes[, kind, beta])

Cost, maximal and mean relative order of a configuration (unreachable = N).

Constants#

PLACEMENT_METHODS

Built-in immutable sequence.