root/applications/doprava/traffic_agent_offset.h
@
937
Revision 927, 315 bytes (checked in by smidl, 15 years ago) |
---|
Line | |
---|---|
1 | class GreenWaveTrafficAgent : public BaseTrafficAgent { |
2 | protected: |
3 | double stable_state_loss; |
4 | |
5 | double best_offset; |
6 | public: |
7 | void validate() { |
8 | BaseTrafficAgent::validate(); |
9 | action_rv = RV(name+"_offset", 1); // <======= example |
10 | } |
11 | void GreeWaveTrafficAgent(); |
12 | }; |
13 | UIREGISTER(GreenWaveTrafficAgent); |
Note: See TracBrowser
for help on using the browser.