20 #ifndef GNECalibratorFlow_h 21 #define GNECalibratorFlow_h 64 GNECalibratorFlow(
GNECalibrator* calibratorParent, std::string flowID, std::string vehicleType, std::string route, std::string color, std::string departLane,
65 std::string departPos, std::string departSpeed, std::string arrivalLane, std::string arrivalPos, std::string arrivalSpeed, std::string line,
66 int personNumber,
int containerNumber,
bool reroute, std::string departPosLat, std::string arrivalPosLat,
double begin,
double end,
67 double vehsPerHour,
double period,
double probability,
int number);
109 const std::string&
getLine()
const;
168 bool setColor(std::string color =
"");
203 bool setLine(std::string line =
"");
265 bool setEnd(std::string end);
bool setLine(std::string line="")
set line of busStop/containerStop
bool setDepartSpeed(std::string departSpeed="0")
set depart speed
std::string getArrivalPosLat() const
bool operator==(const GNECalibratorFlow &calibratorFlow) const
overload operator ==
SumoXMLTag
Numbers representing SUMO-XML - element names.
double getEnd() const
get end time step
double getPeriod() const
get period of flow
bool setColor(std::string color="")
set color of flow
bool setContainerNumber(int containerNumber=0)
set number of container
const std::string & getArrivalSpeed() const
get arrival speed
bool setVehicleType(std::string vehicleType)
set vehicleType of flow
const std::string & getLine() const
get line of busStop/containerStop
~GNECalibratorFlow()
destructor
std::string myLine
line of bus/container stop
const std::string & getArrivalLane() const
get arrival lane
std::string getDepartPosLat() const
get departPosLat
std::string myDepartPosLat
departPosLat
bool getReroute() const
get reroute
const std::string & getDepartSpeed() const
get arrival speed
bool setPeriod(double period)
set period of flows
const std::string & getArrivalPos() const
get arrival position
bool setArrivalLane(std::string arrivalLane="current")
set arrival lane
bool setArrivalPos(std::string arrivalPos="max")
set arrival position
int myNumber
number of flow
std::string myArrivalPos
arrival pos
bool setVehsPerHour(double vehsPerHour)
set flows per hour
double myEnd
time step end
std::string myArrivalPosLat
int myPersonNumber
number of person
bool setPersonNumber(int personNumber=0)
set number of persons
std::string myDepartPos
depart position
int getContainerNumber() const
get number of containers
bool setBegin(double begin)
set begin step
bool setDepartPosLat(std::string departPosLat="center")
set departPosLat
std::string myRoute
route in which this flow is used
std::string myDepartLane
depart lane
bool setRoute(std::string route)
set route in which this flow is used
std::string myArrivalLane
arrival lane
bool setDepartPos(std::string departPos="base")
set depart position
int getNumber() const
get number of flows
bool setReroute(bool value)
set reroute
const std::string & getColor() const
get color of flow
double myVehsPerHour
flows per hour
std::string myFlowID
ID of flow.
int myContainerNumber
number of container
const std::string & getDepartLane() const
get depart lane
GNECalibrator * getCalibratorParent() const
get pointer to calibrator parent
bool setArrivalSpeed(std::string arrivalSpeed="current")
set arrival speed
bool setFlowID(std::string ID)
set ID of flow
GNECalibratorFlow(GNECalibrator *calibratorParent)
constructor
bool setProbability(double probability)
set probability of flow
double myProbability
probability
GNECalibrator * myCalibratorParent
pointer to calibrator parent
const std::string & getVehicleType() const
get vehicle type of flow
std::string myColor
color of flow
std::string myArrivalSpeed
arrival speed
double getVehsPerHour() const
get flows per hour
double getProbability() const
get probability of flow
int getPersonNumber() const
get number of persons
bool setTypeOfFlow(TypeOfFlow type)
set type of flow
const std::string & getDepartPos() const
get depart position
std::string myDepartSpeed
depart speed
bool setDepartLane(std::string departLane="first")
set depart lane
bool setNumber(int number)
set number of flows
TypeOfFlow myTypeOfFlow
type of flow
SumoXMLTag getTag() const
get tag
bool setArrivalPosLat(std::string arrivalPosLat="")
set arrivalPosLat
TypeOfFlow getFlowType() const
get type of flow
const std::string & getFlowID() const
get ID of flow
std::string myVehicleType
type of flow
bool setEnd(double end)
set end step
const std::string & getRoute() const
get route in which this flow is used