Commit b523ea4c authored by Felix Dietrich's avatar Felix Dietrich

Added model presets for GNM, SFM, and OVM.

parent 05231406
......@@ -5,13 +5,20 @@ import java.util.LinkedList;
import java.util.List;
import org.vadere.simulator.models.MainModel;
import org.vadere.simulator.models.gnm.GradientNavigationModel;
import org.vadere.simulator.models.osm.OptimalStepsModel;
import org.vadere.simulator.models.ovm.OptimalVelocityModel;
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.AttributesFloorField;
import org.vadere.state.attributes.models.AttributesGNM;
import org.vadere.state.attributes.models.AttributesOSM;
import org.vadere.state.attributes.models.AttributesOVM;
import org.vadere.state.attributes.models.AttributesPotentialCompact;
import org.vadere.state.attributes.models.AttributesPotentialOSM;
import org.vadere.state.attributes.models.AttributesPotentialGNM;
import org.vadere.state.attributes.models.AttributesPotentialSFM;
import org.vadere.state.attributes.models.AttributesSFM;
/**
* Singleton for model presets.
......@@ -39,7 +46,21 @@ public class ModelPresets {
list.add(AttributesFloorField.class);
registerModelPreset(OptimalStepsModel.class, list);
list.clear();
list.add(AttributesGNM.class);
list.add(AttributesPotentialGNM.class);
list.add(AttributesFloorField.class);
registerModelPreset(GradientNavigationModel.class, list);
list.clear();
list.add(AttributesSFM.class);
list.add(AttributesPotentialSFM.class);
list.add(AttributesFloorField.class);
registerModelPreset(SocialForceModel.class, list);
list.clear();
list.add(AttributesOVM.class);
registerModelPreset(OptimalVelocityModel.class, list);
// list.clear();
// list.add(...);
......
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