50 std::vector<MSLane*> incoming,
51 std::vector<MSLane*>
internal)
74 const int ownLinkIndex = specialLane->
getIncomingLanes()[0].viaLink->getIndex();
80 for (MSLinkCont::const_iterator q = lc.begin(); q != lc.end(); ++q) {
81 if ((*q)->getViaLane() != 0) {
82 const int foeIndex = (*i)->getIncomingLanes()[0].viaLink->getIndex();
83 if (response.test(foeIndex)) {
99 for (MSLinkCont::const_iterator j = lc.begin(); j != lc.end(); ++j) {
100 MSLane* via = (*j)->getViaLane();
109 assert(thisLink->getViaLane()->getLinkCont().size() == 1);
111 exitLink->setRequestInformation((
int)requestPos,
false,
false, std::vector<MSLink*>(),
114 thisLink->addBlockedLink(*k);
115 (*k)->addBlockedLink(thisLink);
const std::vector< IncomingLaneInfo > & getIncomingLanes() const
MSEdge & getEdge() const
Returns the lane's edge.
MSInternalJunction(const std::string &id, SumoXMLNodeType type, const Position &position, const PositionVector &shape, std::vector< MSLane *> incoming, std::vector< MSLane *> internal)
Constructor.
const MSJunctionLogic * getLogic() const
const std::string & getID() const
Returns the id.
const MSJunction * getToJunction() const
std::vector< MSLane * > myIncomingLanes
list of incoming lanes
virtual ~MSInternalJunction()
Destructor.
MSLane * getViaLane() const
Returns the following inner lane.
A point in 2D or 3D with translation and scaling methods.
std::vector< MSLane * > myInternalLanes
list of internal lanes
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
virtual const MSLogicJunction::LinkBits & getResponseFor(int linkIndex) const
Returns the response for the given link.
A junction with right-of-way - rules.
std::vector< MSLane * > myInternalLaneFoes
std::vector< MSLink * > myInternalLinkFoes
const MSLinkCont & getLinkCont() const
returns the container with all links !!!
std::bitset< SUMO_MAX_CONNECTIONS > LinkBits
Container for link response and foes.
void postloadInit()
initialises the junction after the whole net has been loaded
Representation of a lane in the micro simulation.