root/applications/doprava/aimsun_bdm/aimsun_fake.cpp @ 851

Revision 851, 1.6 kB (checked in by smidl, 14 years ago)

change of UI...

Line 
1/*
2 */
3
4/* Class definition */
5#include "aimsun_fake.h"
6
7AimsunDS::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    "}",
19        "    1,      1,      1,      1,      1,       1,      "
20        "    2,      2,      2,      2,      2,       2,      2,      2,      2,"
21        "    2,      2,      2,      2,      2,       2,"
22        "    1,      1,      1,      1,      1,       1,      "
23        "    2,      2,      2,      2,      2,       2,       2,       2,       2,       2,       2,       2,"
24        "    2,      2,      2,      2,      2,       2"
25        );
26  /* Remember the size of the data vector. */
27  dtsize = Drv._dsize();
28
29  /* Description of the channels of the input vector. */
30  Urv = RV ( "{"
31          "Tc"
32          "495_offset"
33          "495_VA  495_VB   495_VC   495_VD   495_VE   495_VF "
34          "601_offset"
35          "601_VA  601_VB   601_VC   601_VD   601_VE   601_SE "
36          "}" );
37  /* Remember the size of the input vector. */
38  utsize = Urv._dsize();
39//  set_log_level(0);
40}
41
42void AimsunDS::getdata ( vec &dt ) const
43{
44        dt = linspace(0.0,double(dtsize),dtsize);
45}
46
47
48void AimsunDS::write ( vec &ut )
49{
50}
51
52
53void AimsunDS::step()
54{
55       
56}
Note: See TracBrowser for help on using the browser.