#include <SUMOAbstractRouter.h>
Definition at line 89 of file SUMOAbstractRouter.h.
Public Member Functions | |
| bool | operator() (const E *edge, const V *vehicle) |
| void | prohibit (const std::vector< E * > &toProhibit) |
Protected Attributes | |
| std::vector< E * > | myProhibited |
| bool prohibited_withRestrictions< E, V >::operator() | ( | const E * | edge, | |
| const V * | vehicle | |||
| ) | [inline] |
Definition at line 91 of file SUMOAbstractRouter.h.
References prohibited_withRestrictions< E, V >::myProhibited.
00091 { 00092 if (std::find(myProhibited.begin(), myProhibited.end(), edge)!=myProhibited.end()) { 00093 return true; 00094 } 00095 return edge->prohibits(vehicle); 00096 }
| void prohibited_withRestrictions< E, V >::prohibit | ( | const std::vector< E * > & | toProhibit | ) | [inline] |
Definition at line 98 of file SUMOAbstractRouter.h.
References prohibited_withRestrictions< E, V >::myProhibited.
00098 { 00099 myProhibited = toProhibit; 00100 }
std::vector<E*> prohibited_withRestrictions< E, V >::myProhibited [protected] |
Definition at line 103 of file SUMOAbstractRouter.h.
Referenced by prohibited_withRestrictions< E, V >::operator()(), and prohibited_withRestrictions< E, V >::prohibit().
1.5.6