Skip to content
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

Merged

Conversation

hhdqirui
Copy link

@hhdqirui hhdqirui commented Nov 6, 2020

Added parts about editLocation and deleteLocation.

@hhdqirui hhdqirui added this to the v1.4 milestone Nov 6, 2020
@hhdqirui hhdqirui self-assigned this Nov 6, 2020
* 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

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Examples added.


**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

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

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

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...

Copy link
Author

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;

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.

Copy link
Author

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.

Copy link

@siangernlow siangernlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@siangernlow siangernlow merged commit 5c0f474 into AY2021S1-CS2103T-T13-1:master Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants