2009/06/30
Last week, I tried to redesign the Agent class for my thinking.
These were my works,
1. I visualized existing class diagram with Doxygen
2. I understood the attributes and methods in exisiting class
3. I tried to redesign those attributes and methods for my thinking, but I could not organize my thinking yet.
And so, I will continue to redesign the Agent class in this week.
By the way, I studied the "pure virtual funtion."
In C++, pure virtual functions are declared using a special syntax [ =0 ] as below.
virtual type func-name( parameter-list ) = 0;
ex) virtual void Initialize() = 0;
The pure virtual function declaration in abstract_class provides only the prototype of the method.
Abstract class itself cannnot make objects.
We have to ( or can ) redefine the function in each sub_class.
These were my works,
1. I visualized existing class diagram with Doxygen
2. I understood the attributes and methods in exisiting class
3. I tried to redesign those attributes and methods for my thinking, but I could not organize my thinking yet.
And so, I will continue to redesign the Agent class in this week.
By the way, I studied the "pure virtual funtion."
In C++, pure virtual functions are declared using a special syntax [ =0 ] as below.
virtual type func-name( parameter-list ) = 0;
ex) virtual void Initialize() = 0;
The pure virtual function declaration in abstract_class provides only the prototype of the method.
Abstract class itself cannnot make objects.
We have to ( or can ) redefine the function in each sub_class.
All last week, I continued to develop the system of recovery of gas-pipe network.
Last Researh Meeting, I showed the brief use case diagram of engineers' action in fixing gas-pipe network.
Then, I tried to break actors' task into parts, and made sequence diagram and remade scenario about the platoon, recovery work party.
So, I will show you more detail use case diagram and sequence diagram.
Below is Use case list.
U.0-1:エリア内を数ブロックに分ける( platoon leader )
U.0-2:損傷の情報を要求する( platoon member )
U.0-3:損傷の情報を提供する( pipe line )
U.0-4:作業班を呼ぶ( platoon member )
U.0-5:修復完了を確認( platoon leader )
U.0-6:修復完了を示す( gaspipe )
U.0-7:損傷個所を修復する( Recovery Work Party )
1. Civil Engineering work( construction worker, civil engineer )
2. Fix low-pressure gas pipe( pipe fitter )
3. Fix medium-pressure gas pipe( welder )
4. Fix iron( iron worker )
5. Traffic control( maintenance worker )
U.0-8:ガスを要求する( user )
U.0-9:ガスを提供する( gas pipe )
U.0-10:道路を使用する( user )


Last Researh Meeting, I showed the brief use case diagram of engineers' action in fixing gas-pipe network.
Then, I tried to break actors' task into parts, and made sequence diagram and remade scenario about the platoon, recovery work party.
So, I will show you more detail use case diagram and sequence diagram.
Below is Use case list.
U.0-1:エリア内を数ブロックに分ける( platoon leader )
U.0-2:損傷の情報を要求する( platoon member )
U.0-3:損傷の情報を提供する( pipe line )
U.0-4:作業班を呼ぶ( platoon member )
U.0-5:修復完了を確認( platoon leader )
U.0-6:修復完了を示す( gaspipe )
U.0-7:損傷個所を修復する( Recovery Work Party )
1. Civil Engineering work( construction worker, civil engineer )
2. Fix low-pressure gas pipe( pipe fitter )
3. Fix medium-pressure gas pipe( welder )
4. Fix iron( iron worker )
5. Traffic control( maintenance worker )
U.0-8:ガスを要求する( user )
U.0-9:ガスを提供する( gas pipe )
U.0-10:道路を使用する( user )


2009/06/16

Last week, I began to develop the system of restoration of gas-pipe network .
First, I made an use case diagram and scenario.
Those are the brief summary of engineers' action in fixing gas-pipe network in one section.
So I have to expand them to adjust to a number of sections, and to give a detailed description.
2009/06/10
TDM ファイルと、road-net map の座標変換についての確定値
TDM road-net map
東京駅 ( -6026, -35272 ) ( 139.770, 35.678 )
渋谷駅 ( -11899, -37818 ) ( 139.705, 35.655 )
池袋駅 ( -11086, -30069 ) ( 139.714, 35.725 )
Tx = -6026 + 90354( Nx - 139.770 )
Ty = -35272 + 110702 ( Ny - 35.678 )
TDM : Tx, Ty
road-net map : Nx, Ny
TDM road-net map
東京駅 ( -6026, -35272 ) ( 139.770, 35.678 )
渋谷駅 ( -11899, -37818 ) ( 139.705, 35.655 )
池袋駅 ( -11086, -30069 ) ( 139.714, 35.725 )
Tx = -6026 + 90354( Nx - 139.770 )
Ty = -35272 + 110702 ( Ny - 35.678 )
TDM : Tx, Ty
road-net map : Nx, Ny
2009/06/09
Last week, I read some books and web pages, and studied about object-oriented system.
Then, I prepared for today's presentation.
My immediate task is to analyze and design the recovery system of gas-network referring to the real data from the TokyoGas Company.
Then, I prepared for today's presentation.
My immediate task is to analyze and design the recovery system of gas-network referring to the real data from the TokyoGas Company.
2009/06/02
In last Research Meeting, I introduced two equations which made connection between two maps, the TDM and the road-net map in Tokyo.
But those equations were rough approximations, so I led accurate equations.
Tx = -6026 + 90354( Nx - 139.770 )
Ty = -35272 + 110702( Ny - 35.678)
Tx, Ty : TDM
Nx, Ny : road-net map
I checked the accuracy of two equations with three positioning datas, Tokyo Station, Sibuya Station, and Ikebukuro Station.
By the way, now I'm studying how to develop an object-oriented system.
And, I will make presentation about the outline about it in Research Meeting.
But those equations were rough approximations, so I led accurate equations.
Tx = -6026 + 90354( Nx - 139.770 )
Ty = -35272 + 110702( Ny - 35.678)
Tx, Ty : TDM
Nx, Ny : road-net map
I checked the accuracy of two equations with three positioning datas, Tokyo Station, Sibuya Station, and Ikebukuro Station.
By the way, now I'm studying how to develop an object-oriented system.
And, I will make presentation about the outline about it in Research Meeting.



