Network3gs.node_sample
- Network3gs.node_sample(size=1)
Get a list of identifiers of a random set of n nodes.
- Parameters
size (int, optional) – The size of the sample.
- Returns
list[hashable] – The identifiers of the nodes.
Get a list of identifiers of a random set of n nodes.
size (int, optional) – The size of the sample.
list[hashable] – The identifiers of the nodes.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev