Bug 705910  2013-10-27
Check the indices goes correctly
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
movecost.h
Go to the documentation of this file.
1 
11 {
12 public:
17  移動費用( const wchar_t* i場所 ) : 場所( i場所 )
18  {
19  }
20 
25  virtual ~移動費用()
26  {
27  }
28 
35  int 徒歩()
36  {
37  return 1000;
38  }
39 
46  int 自転車()
47  {
48  return 500;
49  }
50 
57  int 自動車()
58  {
59  return 50;
60  }
61 
68  int 鉄道()
69  {
70  return 20;
71  }
72 
79  int 船舶()
80  {
81  return 100;
82  }
83 
90  int 飛行機()
91  {
92  return 3;
93  }
94 
102  {
103  return 1;
104  }
105 
106 protected:
107  wchar_t* 場所;
108 };
int 自転車()
by bicycle
Definition: movecost.h:46
移動費用(const wchar_t *i場所)
constructor
Definition: movecost.h:17
int 瞬間移動()
by teleportation
Definition: movecost.h:101
int 徒歩()
by walking
Definition: movecost.h:35
int 飛行機()
by airplane
Definition: movecost.h:90
int 船舶()
by ship
Definition: movecost.h:79
int 自動車()
by car
Definition: movecost.h:57
wchar_t * 場所
The place to trasfer, given by constructor.
Definition: movecost.h:107
virtual ~移動費用()
destructor
Definition: movecost.h:25
int 鉄道()
by train
Definition: movecost.h:68
This class represents the transfer cost.
Definition: movecost.h:10