Group
Represents a group of nodes (pedestrians) that can be treated collectively.
Type Parameters
the concentration type used by nodes in the group.
Inheritors
Properties
Functions
Collects the latest values emitted by a list of Observables and transforms them into a new Observable using the provided collector function.
Given a non-empty list of points represented as vectors, this method finds the extreme coordinates (i.e. min and max coordinates) on the X-axis, these are used to create the returned ClosedRange.
Given a non-empty list of points represented as vectors, this method finds the extreme coordinates (i.e. min and max coordinates) on the Y-axis, these are used to create the returned ClosedRange.
Returns a random element of the Iterable using the provided randomGenerator.
Fisher–Yates shuffle algorithm using a RandomGenerator. More information on Wikipedia.
Takes the first percentage * size elements of the list.
Converts the current list into an observable mutable list.
Converts the current list into an observable mutable set.