Eclipse SUMO - Simulation of Urban MObility
|
A pedestrian following model that acts as a proxy for pedestrian models provided by the JuPedSim third-party simulation framework. More...
#include <MSPModel_JuPedSim.h>
Data Structures | |
struct | AreaData |
Structure that keeps data related to vanishing areas (and other types of areas). More... | |
class | Event |
class | PState |
Holds pedestrian state and performs updates. More... | |
Public Member Functions | |
MSTransportableStateAdapter * | add (MSTransportable *person, MSStageMoving *stage, SUMOTime now) override |
register the given person as a pedestrian More... | |
virtual bool | blockedAtDist (const SUMOTrafficObject *ego, const MSLane *lane, double vehSide, double vehWidth, double oncomingGap, std::vector< const MSPerson * > *collectBlockers) |
whether a pedestrian is blocking the crossing of lane for the given vehicle bondaries More... | |
void | clearState () override |
Resets pedestrians when quick-loading state. More... | |
SUMOTime | execute (SUMOTime time) |
int | getActiveNumber () override |
return the number of active objects More... | |
virtual bool | hasPedestrians (const MSLane *lane) |
whether the given lane has pedestrians on it More... | |
virtual MSTransportableStateAdapter * | loadState (MSTransportable *transportable, MSStageMoving *stage, std::istringstream &state) |
load the state of the given transportable More... | |
MSPModel_JuPedSim (const OptionsCont &oc, MSNet *net) | |
virtual PersonDist | nextBlocking (const MSLane *lane, double minPos, double minRight, double maxLeft, double stopTime=0, bool bidi=false) |
returns the next pedestrian beyond minPos that is laterally between minRight and maxLeft or 0 More... | |
void | registerArrived () |
void | remove (MSTransportableStateAdapter *state) override |
remove the specified person from the pedestrian simulation More... | |
bool | usingInternalLanes () override |
whether movements on intersections are modelled More... | |
bool | usingShortcuts () override |
whether travel times and distances can reliably be calculated from the network alone More... | |
~MSPModel_JuPedSim () | |
Static Public Member Functions | |
static int | canTraverse (int dir, const ConstMSEdgeVector &route, int &passedEdges) |
Static Public Attributes | |
static const int | BACKWARD |
static const int | FORWARD |
static const double | RANDOM_POS_LAT |
magic value to encode randomized lateral offset for persons when starting a walk More... | |
static const double | SAFETY_GAP |
static const double | SIDEWALK_OFFSET |
the offset for computing person positions when walking on edges without a sidewalk More... | |
static const int | UNDEFINED_DIRECTION |
static const double | UNSPECIFIED_POS_LAT |
the default lateral offset for persons when starting a walk More... | |
Private Member Functions | |
bool | addWaypoint (JPS_JourneyDescription journey, JPS_StageId &predecessor, const Position &point, const std::string &agentID, const double radius) |
GEOSGeometry * | buildPedestrianNetwork (MSNet *network) |
void | initialize (const OptionsCont &oc) |
void | preparePolygonForDrawing (const GEOSGeometry *polygon, const std::string &polygonId, const RGBColor &color) |
void | removePolygonFromDrawing (const std::string &polygonId) |
void | tryPedestrianInsertion (PState *state, const Position &p) |
Static Private Member Functions | |
static JPS_Geometry | buildJPSGeometryFromGEOSGeometry (const GEOSGeometry *polygon) |
static GEOSCoordSequence * | convertToGEOSPoints (PositionVector shape) |
static std::vector< JPS_Point > | convertToJPSPoints (const GEOSGeometry *geometry) |
static PositionVector | convertToSUMOPoints (const GEOSGeometry *geometry) |
static GEOSGeometry * | createGeometryFromAnchors (const Position &anchor, const MSLane *const lane, const Position &otherAnchor, const MSLane *const otherLane) |
static GEOSGeometry * | createGeometryFromCenterLine (PositionVector centerLine, double width, int capStyle) |
static GEOSGeometry * | createGeometryFromShape (PositionVector shape, std::string junctionID=std::string(""), std::string shapeID=std::string(""), bool isInternalShape=false) |
static void | dumpGeometry (const GEOSGeometry *polygon, const std::string &filename, bool useGeoCoordinates=false) |
static const MSEdgeVector | getAdjacentEdgesOfEdge (const MSEdge *const edge) |
static const Position & | getAnchor (const MSLane *const lane, const MSEdge *const edge, MSEdgeVector incoming) |
static const GEOSGeometry * | getLargestComponent (const GEOSGeometry *polygon, int &nbrComponents, double &maxArea, double &totalArea) |
static double | getLinearRingArea (const GEOSGeometry *linearRing) |
static MSLane * | getNextPedestrianLane (const MSLane *const currentLane) |
static double | getRadius (const MSVehicleType &vehType) |
static const MSEdge * | getWalkingAreaInbetween (const MSEdge *const edge, const MSEdge *const otherEdge) |
Private Attributes | |
std::vector< SUMOTrafficObject::NumericalID > | myAllStoppedTrainIDs |
Array of stopped trains, used to detect whether to add carriages and ramps to the geometry. More... | |
std::vector< AreaData > | myAreas |
Array of special areas. More... | |
const double | myExitTolerance |
Threshold to decide if a pedestrian has ended its journey or not. More... | |
GEOSGeometry * | myGEOSPedestrianNetwork |
The GEOS polygon containing all computed connected components of the pedestrian network. More... | |
const GEOSGeometry * | myGEOSPedestrianNetworkLargestComponent |
The GEOS polygon representing the largest (by area) connected component of the pedestrian network. More... | |
bool | myHaveAdditionalWalkableAreas |
const SUMOTime | myJPSDeltaT |
Timestep used in the JuPedSim simulator. More... | |
JPS_Geometry | myJPSGeometry |
The JPS polygon representing the largest connected component of the pedestrian network. More... | |
JPS_Geometry | myJPSGeometryWithTrainsAndRamps |
The JPS polygon representing the largest connected component plus carriages and ramps. More... | |
JPS_OperationalModel | myJPSModel |
JPS_Simulation | myJPSSimulation |
MSNet *const | myNetwork |
The network on which the simulation runs. More... | |
int | myNumActivePedestrians = 0 |
std::vector< PState * > | myPedestrianStates |
ShapeContainer & | myShapeContainer |
The shape container used to add polygons to the rendering pipeline. More... | |
Static Private Attributes | |
static const double | CARRIAGE_RAMP_LENGTH = 2.0 |
static const double | GEOS_BUFFERED_SEGMENT_WIDTH = 0.5 * SUMO_const_laneWidth |
static const double | GEOS_MIN_AREA = 1 |
static const double | GEOS_MITRE_LIMIT = 5.0 |
static const int | GEOS_QUADRANT_SEGMENTS = 16 |
static const RGBColor | PEDESTRIAN_NETWORK_CARRIAGES_AND_RAMPS_COLOR = RGBColor(255, 217, 179, 255) |
static const std::string | PEDESTRIAN_NETWORK_CARRIAGES_AND_RAMPS_ID = "jupedsim.pedestrian_network.carriages_and_ramps" |
static const RGBColor | PEDESTRIAN_NETWORK_COLOR = RGBColor(179, 217, 255, 255) |
static const std::string | PEDESTRIAN_NETWORK_ID = "jupedsim.pedestrian_network" |
A pedestrian following model that acts as a proxy for pedestrian models provided by the JuPedSim third-party simulation framework.
Definition at line 42 of file MSPModel_JuPedSim.h.
MSPModel_JuPedSim::MSPModel_JuPedSim | ( | const OptionsCont & | oc, |
MSNet * | net | ||
) |
Definition at line 66 of file MSPModel_JuPedSim.cpp.
References MSEventControl::addEvent(), DELTA_T, MSNet::getBeginOfTimestepEvents(), MSNet::getCurrentTimeStep(), and initialize().
MSPModel_JuPedSim::~MSPModel_JuPedSim | ( | ) |
Definition at line 75 of file MSPModel_JuPedSim.cpp.
References clearState(), myGEOSPedestrianNetwork, myJPSGeometry, myJPSGeometryWithTrainsAndRamps, myJPSModel, and myJPSSimulation.
|
overridevirtual |
register the given person as a pedestrian
Implements MSPModel.
Definition at line 155 of file MSPModel_JuPedSim.cpp.
References addWaypoint(), PositionVector::around(), SUMOVehicleParameter::departPosProcedure, NamedObjectCont< T >::get(), MSPModel_JuPedSim::PState::getAgentId(), MSStage::getArrivalPos(), PositionVector::getBoxBoundary(), MSTransportable::getCurrentStageIndex(), MSTransportable::getCurrentStageType(), MSStageMoving::getDepartPos(), MSStageMoving::getDepartPosLat(), MSStage::getDestination(), Parameterised::getDouble(), MSStage::getEdge(), MSTransportable::getEdge(), MSStageMoving::getEdges(), Named::getID(), MSTransportable::getNextStage(), OptionsCont::getOptions(), MSTransportable::getParameter(), Parameterised::getParameter(), ShapeContainer::getPolygons(), MSPModel_JuPedSim::PState::getPosition(), getRadius(), MSStageMoving::getRoute(), SUMOPolygon::getShape(), MSLane::getShape(), MSNet::getShapeContainer(), MSPModel_JuPedSim::PState::getStage(), MSTransportable::getVehicleType(), MSLane::getWidth(), Position::INVALID, MSEdge::isTazConnector(), MSPModel_JuPedSim::PState::isWaitingToEnter(), myExitTolerance, myJPSSimulation, myNetwork, myNumActivePedestrians, myPedestrianStates, PositionVector::positionAtOffset(), RandHelper::rand(), RANDOM_LOCATION, MSPModel::RANDOM_POS_LAT, MSPModel_JuPedSim::PState::reinit(), PositionVector::rotationAtOffset(), MSPModel_JuPedSim::PState::setAngle(), MSPModel_JuPedSim::PState::setLanePosition(), MSPModel_JuPedSim::PState::setPosition(), MSPModel_JuPedSim::PState::setPreviousPosition(), Position::setx(), Position::sety(), SIMSTEP, time2string(), TL, TLF, tryPedestrianInsertion(), MSPModel::UNSPECIFIED_POS_LAT, WALKING, WRITE_WARNINGF, Position::x(), Boundary::xmax(), Boundary::xmin(), Position::y(), Boundary::ymax(), and Boundary::ymin().
|
private |
Definition at line 125 of file MSPModel_JuPedSim.cpp.
References myJPSSimulation, TL, WRITE_WARNINGF, Position::x(), and Position::y().
Referenced by add().
|
inlinevirtualinherited |
whether a pedestrian is blocking the crossing of lane for the given vehicle bondaries
[in] | ego | The object that inquires about blockage (and may electively ignore foes) |
[in] | lane | The crossing to check |
[in] | vehSide | The offset to the vehicle side near the start of the crossing |
[in] | vehWidth | The width of the vehicle |
[in] | oncomingGap | The distance which the vehicle wants to keep from oncoming pedestrians |
[in] | collectBlockers | The list of persons blocking the crossing |
Reimplemented in MSPModel_Striping.
Definition at line 82 of file MSPModel.h.
References UNUSED_PARAMETER.
Referenced by MSLink::getLeaderInfo().
|
staticprivate |
Definition at line 888 of file MSPModel_JuPedSim.cpp.
References convertToJPSPoints(), GEOS_MIN_AREA, getLinearRingArea(), and TLF.
Referenced by execute(), and initialize().
|
private |
Definition at line 669 of file MSPModel_JuPedSim.cpp.
References createGeometryFromAnchors(), createGeometryFromCenterLine(), createGeometryFromShape(), dumpGeometry(), getAnchor(), Named::getID(), MSJunction::getIncoming(), MSNet::getJunctionControl(), MSJunction::getOutgoing(), MSLane::getOutlineShape(), ShapeContainer::getPolygons(), MSEdge::getPredecessors(), MSJunction::getShape(), MSLane::getShape(), MSNet::getShapeContainer(), getWalkingAreaInbetween(), MSLane::getWidth(), myHaveAdditionalWalkableAreas, myNetwork, and TL.
Referenced by initialize().
|
staticinherited |
Definition at line 54 of file MSPModel.cpp.
References MSPModel::BACKWARD, MSPModel::FORWARD, MSEdge::getFromJunction(), MSEdge::getToJunction(), and MSPModel::UNDEFINED_DIRECTION.
Referenced by MSPModel_Striping::getNextLane(), MSPModel_Striping::PState::PState(), and MSStageWalking::walkDistance().
|
overridevirtual |
Resets pedestrians when quick-loading state.
Implements MSPModel.
Definition at line 528 of file MSPModel_JuPedSim.cpp.
References myNumActivePedestrians, and myPedestrianStates.
Referenced by ~MSPModel_JuPedSim().
|
staticprivate |
Definition at line 785 of file MSPModel_JuPedSim.cpp.
Referenced by createGeometryFromCenterLine(), createGeometryFromShape(), and dumpGeometry().
|
staticprivate |
Definition at line 812 of file MSPModel_JuPedSim.cpp.
Referenced by buildJPSGeometryFromGEOSGeometry().
|
staticprivate |
Definition at line 795 of file MSPModel_JuPedSim.cpp.
Referenced by dumpGeometry(), and preparePolygonForDrawing().
|
staticprivate |
Definition at line 644 of file MSPModel_JuPedSim.cpp.
References createGeometryFromCenterLine(), GEOS_MITRE_LIMIT, GEOS_QUADRANT_SEGMENTS, MSLane::getWidth(), Position::x(), and Position::y().
Referenced by buildPedestrianNetwork().
|
staticprivate |
Definition at line 570 of file MSPModel_JuPedSim.cpp.
References convertToGEOSPoints(), GEOS_MITRE_LIMIT, and GEOS_QUADRANT_SEGMENTS.
Referenced by buildPedestrianNetwork(), and createGeometryFromAnchors().
|
staticprivate |
Definition at line 580 of file MSPModel_JuPedSim.cpp.
References convertToGEOSPoints(), GEOS_BUFFERED_SEGMENT_WIDTH, GEOS_MITRE_LIMIT, GEOS_QUADRANT_SEGMENTS, TL, toString(), and WRITE_WARNINGF.
Referenced by buildPedestrianNetwork(), and execute().
|
staticprivate |
Definition at line 922 of file MSPModel_JuPedSim.cpp.
References GeoConvHelper::cartesian2geo(), convertToGEOSPoints(), convertToSUMOPoints(), and GeoConvHelper::getFinal().
Referenced by buildPedestrianNetwork(), and initialize().
Definition at line 275 of file MSPModel_JuPedSim.cpp.
References MSStageWalking::activateEntryReminders(), MSPModel_JuPedSim::PState::advanceNextWaypoint(), buildJPSGeometryFromGEOSGeometry(), MSTrainHelper::CARRIAGE_DOOR_WIDTH, CARRIAGE_RAMP_LENGTH, MSTrainHelper::computeDoorPositions(), createGeometryFromShape(), DELTA_T, Position::distanceTo2D(), MSPModel_JuPedSim::PState::getAgentId(), MSTrainHelper::getCarriages(), MSTransportable::getCurrentStage(), MSLane::getEdge(), MSStageMoving::getEdge(), MSStageMoving::getEdges(), MSTrainHelper::getHalfWidth(), Named::getID(), getLargestComponent(), MSTransportable::getMaxSpeed(), MSPModel_JuPedSim::PState::getNextWaypoint(), MSTransportable::getNumRemainingStages(), MSPModel_JuPedSim::PState::getPerson(), MSPModel_JuPedSim::PState::getPosition(), MSStageMoving::getRoute(), MSStageMoving::getRouteStep(), MSLane::getSpeedLimit(), MSPModel_JuPedSim::PState::getStage(), MSNet::getStoppingPlaces(), MSTransportable::getVClass(), MSEdge::isNormal(), MSPModel_JuPedSim::PState::isWaitingToEnter(), Position::length2D(), MIN2(), MSStageWalking::moveToNextEdge(), MSStageMoving::moveToNextEdge(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), myAllStoppedTrainIDs, myAreas, myGEOSPedestrianNetworkLargestComponent, myJPSDeltaT, myJPSGeometry, myJPSGeometryWithTrainsAndRamps, myJPSSimulation, myNetwork, myPedestrianStates, Position::norm2D(), PEDESTRIAN_NETWORK_CARRIAGES_AND_RAMPS_COLOR, PEDESTRIAN_NETWORK_CARRIAGES_AND_RAMPS_ID, PEDESTRIAN_NETWORK_COLOR, PEDESTRIAN_NETWORK_ID, preparePolygonForDrawing(), RandHelper::rand(), registerArrived(), removePolygonFromDrawing(), MSPModel_JuPedSim::PState::setAngle(), MSPModel_JuPedSim::PState::setLanePosition(), MSPModel_JuPedSim::PState::setPosition(), MSPModel_JuPedSim::PState::setPreviousPosition(), Position::setx(), Position::sety(), string2time(), SUMO_TAG_BUS_STOP, TL, StringUtils::toDouble(), tryPedestrianInsertion(), TS, UNUSED_PARAMETER, WRITE_ERRORF, WRITE_MESSAGEF, WRITE_WARNING, WRITE_WARNINGF, Position::x(), and Position::y().
Referenced by MSPModel_JuPedSim::Event::execute().
|
overridevirtual |
return the number of active objects
Implements MSPModel.
Definition at line 523 of file MSPModel_JuPedSim.cpp.
References myNumActivePedestrians.
|
staticprivate |
Definition at line 545 of file MSPModel_JuPedSim.cpp.
References MSEdge::getPredecessors(), and MSEdge::getSuccessors().
Referenced by getWalkingAreaInbetween().
|
staticprivate |
Definition at line 535 of file MSPModel_JuPedSim.cpp.
References MSLane::getShape().
Referenced by buildPedestrianNetwork().
|
staticprivate |
Definition at line 868 of file MSPModel_JuPedSim.cpp.
Referenced by execute(), and initialize().
|
staticprivate |
Definition at line 830 of file MSPModel_JuPedSim.cpp.
Referenced by buildJPSGeometryFromGEOSGeometry(), and preparePolygonForDrawing().
Definition at line 1042 of file MSPModel_JuPedSim.cpp.
References MSLane::getLinkCont(), MSLane::getPermissions(), and SVC_PEDESTRIAN.
|
staticprivate |
Definition at line 961 of file MSPModel_JuPedSim.cpp.
References MSVehicleType::getLength(), MSVehicleType::getWidth(), and MAX2().
Referenced by add(), and tryPedestrianInsertion().
|
staticprivate |
Definition at line 555 of file MSPModel_JuPedSim.cpp.
References getAdjacentEdgesOfEdge().
Referenced by buildPedestrianNetwork().
|
inlinevirtualinherited |
whether the given lane has pedestrians on it
Reimplemented in MSPModel_Striping.
Definition at line 94 of file MSPModel.h.
References UNUSED_PARAMETER.
Referenced by MSLane::hasPedestrians().
|
private |
Definition at line 967 of file MSPModel_JuPedSim.cpp.
References buildJPSGeometryFromGEOSGeometry(), buildPedestrianNetwork(), dumpGeometry(), OptionsCont::getBool(), OptionsCont::getFloat(), Named::getID(), getLargestComponent(), Parameterised::getParametersMap(), ShapeContainer::getPolygons(), SUMOPolygon::getShape(), MSNet::getShapeContainer(), Shape::getShapeType(), OptionsCont::getString(), StringTokenizer::getVector(), OptionsCont::isDefault(), myAreas, myGEOSPedestrianNetwork, myGEOSPedestrianNetworkLargestComponent, myJPSDeltaT, myJPSGeometry, myJPSGeometryWithTrainsAndRamps, myJPSModel, myJPSSimulation, myNetwork, PEDESTRIAN_NETWORK_COLOR, PEDESTRIAN_NETWORK_ID, preparePolygonForDrawing(), PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, STEPS2TIME, TL, TLF, WRITE_MESSAGE, and WRITE_WARNINGF.
Referenced by MSPModel_JuPedSim().
|
inlinevirtualinherited |
load the state of the given transportable
Reimplemented in MSPModel_Striping, and MSPModel_NonInteracting.
Definition at line 60 of file MSPModel.h.
References UNUSED_PARAMETER.
Referenced by MSStageWalking::loadState().
|
inlinevirtualinherited |
returns the next pedestrian beyond minPos that is laterally between minRight and maxLeft or 0
[in] | lane | the lane to check |
[in] | minPos | The minimum offset along the lane after which to check |
[in] | minRight | The rightmost border of the vehicle (0 indicates driving on the right border) |
[in] | maxLeft | The leftmost border of the vehicle |
[in] | stopTime | The time it would take the vehicle to come to a stop |
[in] | bidi | Whether the vehicle is driving against the flow |
Reimplemented in MSPModel_Striping.
Definition at line 108 of file MSPModel.h.
References UNUSED_PARAMETER.
Referenced by MSLane::nextBlocking().
|
private |
Definition at line 846 of file MSPModel_JuPedSim.cpp.
References ShapeContainer::addPolygon(), convertToSUMOPoints(), GEOS_MIN_AREA, NamedObjectCont< T >::get(), getLinearRingArea(), ShapeContainer::getPolygons(), myShapeContainer, and SUMOPolygon::setHoles().
Referenced by execute(), and initialize().
void MSPModel_JuPedSim::registerArrived | ( | ) |
Definition at line 518 of file MSPModel_JuPedSim.cpp.
References myNumActivePedestrians.
Referenced by execute().
|
overridevirtual |
remove the specified person from the pedestrian simulation
Implements MSPModel.
Definition at line 265 of file MSPModel_JuPedSim.cpp.
References MSPModel_JuPedSim::PState::getStage(), MSStageMoving::setPState(), and MSPModel_JuPedSim::PState::setStage().
|
private |
Definition at line 840 of file MSPModel_JuPedSim.cpp.
References myShapeContainer, and ShapeContainer::removePolygon().
Referenced by execute().
Definition at line 91 of file MSPModel_JuPedSim.cpp.
References Named::getID(), MSPModel_JuPedSim::PState::getJourneyId(), MSTransportable::getMaxSpeed(), MSPModel_JuPedSim::PState::getPerson(), getRadius(), MSPModel_JuPedSim::PState::getStageId(), MSTransportable::getVehicleType(), myJPSSimulation, MSPModel_JuPedSim::PState::setAgentId(), TL, WRITE_WARNINGF, Position::x(), and Position::y().
Referenced by add(), and execute().
|
overridevirtual |
whether movements on intersections are modelled
Implements MSPModel.
Definition at line 513 of file MSPModel_JuPedSim.cpp.
References MSNet::getInstance(), MSGlobals::gUsingInternalLanes, and MSNet::hasInternalLinks().
|
inlineoverridevirtual |
whether travel times and distances can reliably be calculated from the network alone
Reimplemented from MSPModel.
Definition at line 52 of file MSPModel_JuPedSim.h.
References myHaveAdditionalWalkableAreas.
|
staticinherited |
Definition at line 120 of file MSPModel.h.
Referenced by MSPModel_Striping::addCloserObstacle(), MSPModel_Striping::addCrossingVehs(), MSPModel::canTraverse(), MSPModel_NonInteracting::PState::computeDuration(), MSPModel_Striping::connectedDirection(), MSPModel_Striping::MovePedestrians::execute(), MSPModel_Striping::PState::getAngle(), MSPModel_NonInteracting::PState::getDirection(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSPModel_Striping::getVehicleObstacles(), MSPModel_Striping::insertWalkArePaths(), MSPModel_Striping::PState::moveToNextLane(), MSPModel_Striping::PState::moveToXY(), MSInductLoop::notifyLeave(), MSPModel_Striping::PState::PState(), MSPModel_Striping::PState::walk(), and MSStageWalking::walkDistance().
|
staticprivate |
Definition at line 202 of file MSPModel_JuPedSim.h.
Referenced by execute().
|
staticinherited |
Definition at line 119 of file MSPModel.h.
Referenced by MSPModel_Striping::addCloserObstacle(), MSPModel_Striping::addCrossingVehs(), MSPModel_Striping::blockedAtDist(), MSPModel::canTraverse(), MSPModel_Striping::Obstacle::closer(), MSPModel_NonInteracting::PState::computeDuration(), MSPModel_Striping::connectedDirection(), MSPModel_Striping::PState::distanceTo(), MSPModel_Striping::PState::distToLaneEnd(), MSE3Collector::enter(), MSPModel_Striping::MovePedestrians::execute(), MSStageDriving::getDirection(), MSPModel_NonInteracting::PState::getDirection(), MSPModel_Striping::PState::getMaxX(), MSPModel_Striping::PState::getMinX(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSPModel_Striping::getNextWalkingArea(), MSPModel_Striping::PState::getPosition(), MSPModel_Striping::getVehicleObstacles(), MSPModel_Striping::insertWalkArePaths(), MSE3Collector::leave(), MSPModel_Striping::PState::mergeObstacles(), MSPModel_Striping::moveInDirectionOnLane(), MSStageWalking::moveToNextEdge(), MSPModel_Striping::PState::moveToNextLane(), MSPModel_Striping::PState::moveToXY(), MSPModel_Striping::nextBlocking(), MSInductLoop::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSE2Collector::notifyMovePerson(), MSInductLoop::notifyMovePerson(), MSE3Collector::notifyMovePerson(), MSPModel_Striping::PState::PState(), MSPModel_Striping::transformToCurrentLanePositions(), MSPModel_Striping::PState::walk(), and MSStageWalking::walkDistance().
|
staticprivate |
Definition at line 201 of file MSPModel_JuPedSim.h.
Referenced by createGeometryFromShape().
|
staticprivate |
Definition at line 200 of file MSPModel_JuPedSim.h.
Referenced by buildJPSGeometryFromGEOSGeometry(), and preparePolygonForDrawing().
|
staticprivate |
Definition at line 199 of file MSPModel_JuPedSim.h.
Referenced by createGeometryFromAnchors(), createGeometryFromCenterLine(), and createGeometryFromShape().
|
staticprivate |
Definition at line 198 of file MSPModel_JuPedSim.h.
Referenced by createGeometryFromAnchors(), createGeometryFromCenterLine(), and createGeometryFromShape().
|
private |
Array of stopped trains, used to detect whether to add carriages and ramps to the geometry.
Definition at line 196 of file MSPModel_JuPedSim.h.
Referenced by execute().
|
private |
Array of special areas.
Definition at line 193 of file MSPModel_JuPedSim.h.
Referenced by execute(), and initialize().
|
private |
Threshold to decide if a pedestrian has ended its journey or not.
Definition at line 160 of file MSPModel_JuPedSim.h.
Referenced by add().
|
private |
The GEOS polygon containing all computed connected components of the pedestrian network.
Definition at line 166 of file MSPModel_JuPedSim.h.
Referenced by initialize(), and ~MSPModel_JuPedSim().
|
private |
The GEOS polygon representing the largest (by area) connected component of the pedestrian network.
Definition at line 169 of file MSPModel_JuPedSim.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 171 of file MSPModel_JuPedSim.h.
Referenced by buildPedestrianNetwork(), and usingShortcuts().
|
private |
Timestep used in the JuPedSim simulator.
Definition at line 157 of file MSPModel_JuPedSim.h.
Referenced by execute(), and initialize().
|
private |
The JPS polygon representing the largest connected component of the pedestrian network.
Definition at line 174 of file MSPModel_JuPedSim.h.
Referenced by execute(), initialize(), and ~MSPModel_JuPedSim().
|
private |
The JPS polygon representing the largest connected component plus carriages and ramps.
Definition at line 177 of file MSPModel_JuPedSim.h.
Referenced by execute(), initialize(), and ~MSPModel_JuPedSim().
|
private |
Definition at line 178 of file MSPModel_JuPedSim.h.
Referenced by initialize(), and ~MSPModel_JuPedSim().
|
private |
Definition at line 179 of file MSPModel_JuPedSim.h.
Referenced by add(), addWaypoint(), execute(), initialize(), tryPedestrianInsertion(), and ~MSPModel_JuPedSim().
|
private |
The network on which the simulation runs.
Definition at line 151 of file MSPModel_JuPedSim.h.
Referenced by add(), buildPedestrianNetwork(), execute(), and initialize().
|
private |
Definition at line 162 of file MSPModel_JuPedSim.h.
Referenced by add(), clearState(), getActiveNumber(), and registerArrived().
|
private |
Definition at line 163 of file MSPModel_JuPedSim.h.
Referenced by add(), clearState(), and execute().
|
private |
The shape container used to add polygons to the rendering pipeline.
Definition at line 154 of file MSPModel_JuPedSim.h.
Referenced by preparePolygonForDrawing(), and removePolygonFromDrawing().
|
staticprivate |
Definition at line 204 of file MSPModel_JuPedSim.h.
Referenced by execute().
|
staticprivate |
Definition at line 206 of file MSPModel_JuPedSim.h.
Referenced by execute().
|
staticprivate |
Definition at line 203 of file MSPModel_JuPedSim.h.
Referenced by execute(), and initialize().
|
staticprivate |
Definition at line 205 of file MSPModel_JuPedSim.h.
Referenced by execute(), and initialize().
|
staticinherited |
magic value to encode randomized lateral offset for persons when starting a walk
Definition at line 133 of file MSPModel.h.
Referenced by add(), MSRouteHandler::interpretDepartPosLat(), and MSPModel_Striping::PState::PState().
|
staticinherited |
Definition at line 124 of file MSPModel.h.
Referenced by MSLink::getLeaderInfo(), MSPModel_Striping::getVehicleObstacles(), MSLink::isInFront(), and MSPModel_Striping::moveInDirection().
|
staticinherited |
the offset for computing person positions when walking on edges without a sidewalk
Definition at line 127 of file MSPModel.h.
Referenced by MSPModel_NonInteracting::PState::getPosition(), GUINet::initGUIStructures(), LIBSUMO_NAMESPACE::Person::moveTo(), and MSPModel_Striping::PState::moveToXY().
|
staticinherited |
Definition at line 121 of file MSPModel.h.
Referenced by MSPModel::canTraverse(), MSPModel_NonInteracting::PState::computeDuration(), MSPModel_Striping::connectedDirection(), MSStage::getDirection(), MSStageDriving::getDirection(), MSStageMoving::getDirection(), GUIPerson::getDirection(), MSPModel_NonInteracting::PState::getDirection(), MSPModel_JuPedSim::PState::getDirection(), MSPModel_Striping::getNextLane(), MSPModel_Striping::PState::moveToNextLane(), MSPModel_Striping::PState::moveToXY(), MSPModel_Striping::PState::PState(), and MSStageWalking::walkDistance().
|
staticinherited |
the default lateral offset for persons when starting a walk
Definition at line 130 of file MSPModel.h.
Referenced by add(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSRouteHandler::interpretDepartPosLat(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::PState(), and MSPerson::reroute().