这个 UML class 图是否接近描述的规范
Is this UML class diagram close to the specification described
根据以下规范,此 UML 的设计是否正确。另外我非常抱歉UML是手写的,因为我无法在我的电脑上安装IMB RSA并且找不到合适的替代品。
这是规范
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 class 图非常困难,任何有关阅读规范和转换为 UML 的最佳方法的指示都将非常有用。
简短的回答是您的设计似乎不正确。您完全错过了问题域。
与其直接投入到设计某些解决方案中,不如对提供给您的文本中描述的问题域进行建模。例如,概念 Bus Stop
、Geographical Area
、Bus Route
、Location
、Bus
、Traversal Duration
、Map
、Student Id Card
?它们之间的关联在哪里?关联端的重数和名称是什么?每个 class 中哪些非技术行为自然有意义?正如我最近在 .
中解释的那样,忽略问题域是危险的
根据以下规范,此 UML 的设计是否正确。另外我非常抱歉UML是手写的,因为我无法在我的电脑上安装IMB RSA并且找不到合适的替代品。
这是规范
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 class 图非常困难,任何有关阅读规范和转换为 UML 的最佳方法的指示都将非常有用。
简短的回答是您的设计似乎不正确。您完全错过了问题域。
与其直接投入到设计某些解决方案中,不如对提供给您的文本中描述的问题域进行建模。例如,概念 Bus Stop
、Geographical Area
、Bus Route
、Location
、Bus
、Traversal Duration
、Map
、Student Id Card
?它们之间的关联在哪里?关联端的重数和名称是什么?每个 class 中哪些非技术行为自然有意义?正如我最近在