Group

interface Group<T, N : Node<T>>

A group of nodes.

Functions

Link copied to clipboard
abstract fun addMember(node: N): Group<T, N>

Add a node in this group if not already part of it.

Link copied to clipboard
open fun contains(node: N): Boolean

Whether a node belongs to this group or not.

Link copied to clipboard
abstract fun removeMember(node: N): Group<T, N>

Remove a node from this group.

Properties

Link copied to clipboard
abstract val members: List<N>

The list of pedestrians belonging to this group.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard