root/applications/doprava/traffic_agent_offset.h @ 927

Revision 927, 315 bytes (checked in by smidl, 14 years ago)

traffic agents -- pro BDM > r904

Line 
1class GreenWaveTrafficAgent : public BaseTrafficAgent {
2protected:
3        double stable_state_loss;
4       
5        double best_offset;
6public:
7        void validate() {
8                BaseTrafficAgent::validate();
9                action_rv = RV(name+"_offset", 1); // <======= example
10        }
11        void GreeWaveTrafficAgent();
12};
13UIREGISTER(GreenWaveTrafficAgent);
Note: See TracBrowser for help on using the browser.