| 1 | /* |
|---|
| 2 | */ |
|---|
| 3 | |
|---|
| 4 | /* Class definition */ |
|---|
| 5 | #include "aimsun_fake.h" |
|---|
| 6 | |
|---|
| 7 | AimsunDS::AimsunDS() : DS() |
|---|
| 8 | { |
|---|
| 9 | |
|---|
| 10 | /* Description of the channels of the data vector. */ |
|---|
| 11 | Drv = RV ( "{" |
|---|
| 12 | "495_VA 495_VB 495_VC 495_VD 495_VE 495_VF " |
|---|
| 13 | "495_DVA 495_DVB 495_DVA1 495_DVB1 495_DVC 495_DVD 495_DVE 495_DVF 495_DVF1 " |
|---|
| 14 | "495_S1 495_S2 495_S3 495_S4 495_S5 495_S5a " |
|---|
| 15 | "601_VA 601_VB 601_VC 601_VD 601_VE 601_SE " |
|---|
| 16 | "601_DVA 601_DVAa 601_DVB 601_DVBa 601_DVB1 601_DVC 601_DVD 601_DVD1 601_DSE 601_DVE 601_DSE1 601_DVE1 " |
|---|
| 17 | "601_S6 601_S6a 601_S7 601_S8 601_S9 601_S9a " |
|---|
| 18 | "495_Q1 495_Q2 " |
|---|
| 19 | "}", |
|---|
| 20 | " 1, 1, 1, 1, 1, 1, " |
|---|
| 21 | " 2, 2, 2, 2, 2, 2, 2, 2, 2," |
|---|
| 22 | " 2, 2, 2, 2, 2, 2," |
|---|
| 23 | " 1, 1, 1, 1, 1, 1, " |
|---|
| 24 | " 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2," |
|---|
| 25 | " 2, 2, 2, 2, 2, 2" |
|---|
| 26 | " 1, 1" |
|---|
| 27 | ); |
|---|
| 28 | /* Remember the size of the data vector. */ |
|---|
| 29 | dtsize = Drv._dsize(); |
|---|
| 30 | |
|---|
| 31 | /* Description of the channels of the input vector. */ |
|---|
| 32 | Urv = RV ( "{" |
|---|
| 33 | "Tc" |
|---|
| 34 | "495_offset" |
|---|
| 35 | "495_VA 495_VB 495_VC 495_VD 495_VE 495_VF " |
|---|
| 36 | "601_offset" |
|---|
| 37 | "601_VA 601_VB 601_VC 601_VD 601_VE 601_SE " |
|---|
| 38 | "}" ); |
|---|
| 39 | /* Remember the size of the input vector. */ |
|---|
| 40 | utsize = Urv._dsize(); |
|---|
| 41 | // set_log_level(0); |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | void AimsunDS::getdata ( vec &dt ) const |
|---|
| 45 | { |
|---|
| 46 | dt = linspace(0.0,double(dtsize),dtsize); |
|---|
| 47 | } |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | void AimsunDS::write ( vec &ut ) |
|---|
| 51 | { |
|---|
| 52 | } |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | void AimsunDS::step() |
|---|
| 56 | { |
|---|
| 57 | |
|---|
| 58 | } |
|---|