ditaa text diagram explaining how the repairer dispatcher works
This commit is contained in:
parent
03b69f1819
commit
979f33b721
1 changed files with 38 additions and 0 deletions
|
|
@ -50,6 +50,44 @@ Authors:
|
|||
* idx.insert(2);
|
||||
* rpd.add( idx, &repairer );
|
||||
*
|
||||
* A diagram trying to visually explain how it works:
|
||||
\ditaa
|
||||
|
||||
|
|
||||
/-\ | /------------\
|
||||
| +---|---+ Dispatcher |
|
||||
| | v | |
|
||||
| |+-----+| --------------------------------+
|
||||
| || x_0 || +-+-+-+ | +------------\ | /-\
|
||||
| |+-----+| |2|3|5+*----*-* Repairer A +---|---+ |
|
||||
| || x_1 || +-+-+-+ | | | | v | |
|
||||
| |+-----+| | | | |+-----+| |
|
||||
| || x_2 || | | | || x_2 || |
|
||||
| |+-----+| | | | |+-----+| |
|
||||
| || x_3 || | | | || x_3 || |
|
||||
| |+-----+| | | | |+-----+| |
|
||||
| || x_4 || | | | || x_5 || |
|
||||
| |+-----+| | | | |+-----+| |
|
||||
| || x_5 || | | | | | | |
|
||||
| |+-----+| | | | +---|---+ |
|
||||
| || x_6 || | | \------------/ | \-/
|
||||
| |+-----+| <-------------------------------+
|
||||
| || x_7 || | |
|
||||
| |+-----+| +-+-+ | |
|
||||
| || x_8 || |2|3+*------+
|
||||
| |+-----+| +-+-+ |
|
||||
| || x_9 || |
|
||||
| |+-----+| +-+-+ | +------------\ /-\
|
||||
| | | | |1|5+*--------* Repairer B +-------+ |
|
||||
| | | | +-+-+ | | | | |
|
||||
| | | | | | | | |
|
||||
| | | | | | +-------+ |
|
||||
| +---|---+ | \------------/ \-/
|
||||
\-/ | \------------/
|
||||
v
|
||||
|
||||
\endditaa
|
||||
|
||||
* @example t-dispatcher-round.cpp
|
||||
*
|
||||
* @ingroup Repairers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue