49 typedef std::vector< std::bitset< N > >
Logic;
53 typedef std::vector< std::bitset< N > >
Foes;
59 std::bitset<SUMO_MAX_CONNECTIONS> conts)
93 const std::bitset<SUMO_MAX_CONNECTIONS>
myConts;
MSBitSetLogic< SUMO_MAX_CONNECTIONS > MSBitsetLogic
MSBitSetLogic(const MSBitSetLogic &)=delete
Invalidated copy constructor.
const Logic myLogic
junctions logic based on std::bitset
const MSLogicJunction::LinkBits & getFoesFor(int linkIndex) const
Returns the foes for the given link.
MSBitSetLogic & operator=(const MSBitSetLogic &)=delete
Invalidated assignment operator.
std::vector< std::bitset< N > > Foes
Container holding the information which internal lanes prohibt which links Build the same way as Logi...
std::vector< std::bitset< N > > Logic
Container that holds the right of way bitsets. Each link has its own bitset. The bits in the bitsets ...
const MSLogicJunction::LinkBits & getResponseFor(int linkIndex) const
Returns the response for the given link.
const Foes myInternalLinksFoes
internal lanes logic
const std::bitset< SUMO_MAX_CONNECTIONS > myConts
bool getIsCont(int linkIndex) const
MSBitSetLogic(int nLinks, const Logic &logic, const Foes &foes, std::bitset< SUMO_MAX_CONNECTIONS > conts)
Use this constructor only.
std::bitset< SUMO_MAX_CONNECTIONS > LinkBits
Container for link response and foes.