System updates are being installed. You can continue using GitLab, but it may be unavailable for some minutes during the updates.

Commit 5684b9b5 authored by Jakob Schöttl's avatar Jakob Schöttl

Add presets for BHM and BMM

parent a688eae9
......@@ -5,6 +5,8 @@ import java.util.LinkedList;
import java.util.List;
import org.vadere.simulator.models.MainModel;
import org.vadere.simulator.models.bhm.BehaviouralHeuristicsModel;
import org.vadere.simulator.models.bmm.BiomechanicsModel;
import org.vadere.simulator.models.gnm.GradientNavigationModel;
import org.vadere.simulator.models.osm.OptimalStepsModel;
import org.vadere.simulator.models.ovm.OptimalVelocityModel;
......@@ -12,6 +14,8 @@ import org.vadere.simulator.models.reynolds.ReynoldsSteeringModel;
import org.vadere.simulator.models.sfm.SocialForceModel;
import org.vadere.state.attributes.Attributes;
import org.vadere.state.attributes.ModelDefinition;
import org.vadere.state.attributes.models.AttributesBHM;
import org.vadere.state.attributes.models.AttributesBMM;
import org.vadere.state.attributes.models.AttributesFloorField;
import org.vadere.state.attributes.models.AttributesGNM;
import org.vadere.state.attributes.models.AttributesOSM;
......@@ -72,6 +76,16 @@ public class ModelPresets {
list.add(AttributesReynolds.class);
registerModelPreset(ReynoldsSteeringModel.class, list);
// Behavioural Heuristics Model
list.clear();
list.add(AttributesBHM.class);
registerModelPreset(BehaviouralHeuristicsModel.class, list);
// Biomechanics Model
list.clear();
list.add(AttributesBMM.class);
registerModelPreset(BiomechanicsModel.class, list);
// list.clear();
// list.add(...);
// registerModelPreset(MyModel.class, list);
......
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