-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.dox
22 lines (14 loc) · 1.83 KB
/
MainPage.dox
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
@mainpage Documentation of the project "Phone numbers"
### Problem description
Warning: the up-to-date description can be found at [Moodle](https://moodle.mimuw.edu.pl).
### Problem description
This year's big project requires implementation of the operations on phone numbers.
Presented documentation covers the part of the project related to handling the forwarding of the phone numbers: when the phone numbers with the specific prefixes are redirected unambiguously to the corresponding different phone numbers. The vocabulary used in the documenation may include a few conjectural statements, therefore more common shortcuts are described below:
- a word "forwarding" and its derivatives is often substituted with "redirection" and its derivatives;
- an adjective "terminal" is often related to a node, indicating that after finishing the path - traversing the tree edge by edge simultaneosuly with scanning the string letter by letter - the information related to the given prefix is stored in the first node after the last edge labeled with a specific character, which is the last character of the given string;
- "final prefix", "final node" etc. - an adjective "final" refers mostly to the prefix to whom other prefixes are redirected.
- for clarity, a word "string" is used as a name for "char array" in C.
Additionally, the alphabet of phone numbers has been extended from 0-9 digits to 0-11 numbers, including "*" as a representative of the number ten and "#" as a representative of the number eleven. Moreover, there is a possibility of constructing original numbers based on redirected number, but with limitations described in the annotation to the appropriate function.
Further extensions include unified erroneous input handling and addition of the function recreating the inverse image of the function responsible for redirections retrieval.
*/