Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 ( If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit f6b29a65 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

Added class comment to ""

parent d5e33389
Pipeline #265453 passed with stages
in 149 minutes and 55 seconds
......@@ -28,15 +28,20 @@ import java.util.concurrent.atomic.AtomicInteger;
* Implementation of group behavior model described in 'Pedestrian Group Behavior in a Cellular
* Automaton' (bib-key: seitz-2014)
* Automaton' (bib-key: seitz-2014). The basic idea from seitz-2014:
* <quote>
* Firstly members walking ahead slow down and members falling behind slightly speed up to reach the group.
* </quote>
* Agents which are added to the topography (before the simulation starts) are assigned to
* groups directly in the {@link #preLoop(double)}. Agents which are spawned later on, are
* assigned to groups in the callback {@link #elementAdded(Pedestrian)}. The actual behavior
* of the central group model is implemented in the helper class {@link CentroidGroup}.
public class CentroidGroupModel extends AbstractGroupModel<CentroidGroup> {
private static Logger logger = Logger.getLogger(CentroidGroupModel.class);
private Random random;
// private Map<Pedestrian, CentroidGroup> pedestrianGroupMap;
private LinkedHashMap<Integer, CentroidGroup> groupsById;
private Map<Integer, LinkedList<CentroidGroup>> sourceNextGroups;
private Map<Integer, GroupSizeDeterminator> sourceGroupSizeDeterminator;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment