-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update DG with details done by Wu Qirui #290
Update DG with details done by Wu Qirui #290
Conversation
docs/DeveloperGuide.md
Outdated
* If user specifies number of high risk locations in the command, then number of high risk locations would be the user | ||
specified value. | ||
* If user does not specifies number of high risk locations, then number of high risk location of infection is | ||
determined using the following rule: | ||
* If number of infected location is larger than 60% of number of total number of location, then the number of high risk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is quite technical, so you could perhaps consider adding some diagrams? A simple diagram would suffice. Alternatively, you may provide an example with concrete numbers to bring the idea across more clearly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Examples added.
docs/DeveloperGuide.md
Outdated
|
||
**Rationale** | ||
Instead of always using the pre-defined rule within VirusTracker, this implementation allows users to customize the | ||
number of high risk locations displayed in VirusTracker. If the pre-defined rule is in used, users might not be able to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small grammatical error. ... is in used
-> is in use
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
docs/DeveloperGuide.md
Outdated
view more infected locations beyond the displayed high risk locations that are selected automatically by VirusTracker. | ||
|
||
##### Aspect: Determining number of high risk locations for infection when user does not specify the number | ||
In the case when user does not specify the number of high risk locations in the command, the system itself will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small grammatical error. In the case when the user...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
@@ -4,7 +4,7 @@ start | |||
'Since the beta syntax does not support placing the condition outside the | |||
'diamond we place it as the true branch instead. | |||
|
|||
repeat :User executes deleteVisit command; | |||
repeat :User executes deleteLocation command; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be deleteVisit instead? It is in the DeleteVisitActivityDiagram.puml file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a mistake. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added parts about
editLocation
anddeleteLocation
.