IndexArr#
- class IndexArr(name=None, label=None)[source]#
Bases:
ArrA special class of Arr used for UIDs and RNG IDs; not to be used as an integer array (for that, use FloatArr)
Attributes
auidsLink to the indices of active agents -- sim.people.auids
isnannotnanAlias to self.values, to allow Arr.uids like BoolArr
valuesReturn the values of the active agents
Methods
- property uids#
Alias to self.values, to allow Arr.uids like BoolArr