ditaa text diagram explaining how the repairer dispatcher works

This commit is contained in:
nojhan 2011-11-07 15:44:36 +01:00
commit 979f33b721

View file

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