nocad.placement.annealing_placement#
- nocad.placement.annealing_placement(adj, fixed, method='gdfcmsa', r_max=None, n_add=None, beta=0.5, n_iter=500, n_runs=10, random_state=None)[source]#
Add nodes by mCLASA or GDFCMSA (MATLAB
mCLASArMax,GDFCMSArMax,...addMax).- Parameters:
- adj
network For sensors pass the reversed network, so that distances run from the sensor candidates to the states.
- fixedarray_like
ofint Nodes of the matching-based configuration (kept).
- r_max
float,optional Add nodes one at a time until the maximal relative order is at most
r_max.- n_add
int,optional Add exactly
n_addnodes (used ifr_maxis None).- n_iter, n_runs
int Annealing iterations per run and independent runs per number of added nodes.
- adj
- Returns: