2016-05-14 3 views
0

このUMLの設計は、以下の仕様に基づいて正しいですか?また、私は自分のPCにIMB RSAをインストールすることができず、適切な代用品を見つけることができなかったので、UMLが手書きであることを非常に残念に思います。あなたは私は素晴らしいことだろうと、それを改善する方法を知っている可能性がある場合このUMLクラス図は、記載されている仕様に近いですか

はここでスペック

Consider a new mobile app (BuzApp) to be developed by Tyler Hill 
University to help its community and visitors to identify the most 
convenient bus stop. The University has several bus stops dispersed on 
a wide geographical area, which are served by several bus routes. The 
purpose of the app is to help the University community members 
(students and staff) and visitors to find the most convenient bus stop to 
reach their final destinations. Based on the routes and positions of the 
buses, and on the position of the app user, the app should be able to 
localise the best bus stop based on: the time it takes for a bus to arrive 
at a particular bus stop, and the time it takes a user to reach that same 
bus stop. The average walking speed is fixed for visitors, but for the 
community members is calculated based on historical data. 

The app will rely on bus companies for providing the bus routes, the 
positions of its buses, and the time it takes for a bus to reach a 
particular bus stop, together with the information whether a particular 
bus is full or not. The app will rely on the University Campus Services 
for providing the maps, the pedestrian paths, which include short cuts 
that are only available to community members depending on their 
University status that is captured by their personal card number 
(HillOne). 

です。仕様を読んでUMLクラス図を作成することは非常に難しく、仕様を読んでUMLに変換するための最良の方法についての指針があれば、大いに理解することができます。 enter image description here

+0

図は読みにくいです。クイックヒント:MagicDrawの無料評価版をダウンロードしてください。これは数秒でインストールされ、Windows、OS X、およびLinux上で動作します。 –

+0

@ JimL。さて、私は今それを行い、再投稿 – user6248190

+0

その間に、私はあなたにいくつかのフィードバックを与えるために十分に読むことができます。 –

答えて

3

短い答えは、あなたのデザインが正しくないように見えることです。問題のあるドメインが完全に欠落しています。

解決策を設計するのではなく、提供されたテキストに記述されている問題のドメインをモデル化する必要があります。例えば、概念はどこにありますかBus Stop,Geographical Area,Bus Route,Location,Bus,Traversal Duration,Map,Student Id Card?彼らの間の関係はどこですか?連合終了多重度と名前は何ですか?どのような非技術的な振る舞いが自然に各クラスで理にかなっていますか?問題ドメインを無視するのは、最近私がanother similar questionで説明したように危険です。

+0

ありがとう、このような質問が私の試験で出てくるので、私は時間のかかる状況でそれをやろうとしていました.UMLクラス図を描くのに約10分かかります。 – user6248190

関連する問題