The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

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

Added class comment to "CentroidGroupModel.java"

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}.
*/
@ModelClass
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