Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73136 - sandbox/SOC/2011/checks/libs/checks/doc
From: pierre.talbot.6114_at_[hidden]
Date: 2011-07-16 05:45:01


Author: trademark
Date: 2011-07-16 05:45:00 EDT (Sat, 16 Jul 2011)
New Revision: 73136
URL: http://svn.boost.org/trac/boost/changeset/73136

Log:
Added subsections of the errors.
Text files modified:
   sandbox/SOC/2011/checks/libs/checks/doc/errors.qbk | 16 +++++++++++-----
   1 files changed, 11 insertions(+), 5 deletions(-)

Modified: sandbox/SOC/2011/checks/libs/checks/doc/errors.qbk
==============================================================================
--- sandbox/SOC/2011/checks/libs/checks/doc/errors.qbk (original)
+++ sandbox/SOC/2011/checks/libs/checks/doc/errors.qbk 2011-07-16 05:45:00 EDT (Sat, 16 Jul 2011)
@@ -4,7 +4,7 @@
 Those are the most frequent and we are not exhaustive, however we will find out how well our algorithms work.
 We will calculate (in a mathematical way) the probability of failures and the factors which affect it.
 
-[h4 Alteration]
+[section:alteration Alteration]
 
 [h5 Single error]
 
@@ -16,20 +16,26 @@
 In fact it depends on the compensation of the altered digits.
 For example : 1 + 2 + 3 = 6. If we alter 2 digits, the sum could become : 2 + 2 + 2 = 6. The result is equal because 1 + 3 = 2 + 2, the digits altered are compensated.
 
-[h4 Transposition]
+[endsect][/section:alteration Alteration]
+[section:transposition Transposition]
 
 A transposition on a simple sum is impossible to detect because the addition is commutative, the order is not important.
 A solution is to associate the position of a digit with a weight.
 
 [note A transposition error is only catched if the two digits transposed have a different weight and if their values with their weight or the weight of the other digit are not the same.]
 
-[h4 Length]
+[endsect][/section:transposition Transposition]
+[section:lenght Length]
 
 The length is not often a problem because many codes and numbers have a fixed length.
 But if the user do not specify the size, an error could be uncatched if the check digit of the new sequence of digit is equal to the last digit of this sequence.
 
-[h4 Shift]
+[endsect][/section:lenght Length]
+[section:shift Shift]
 
-[h4 Phonetic]
+[endsect][/section:shift Shift]
+[section:phonetic Phonetic]
+
+[endsect][/section:phonetic Phonetic]
 
 [endsect][/section:errors Type of errors]
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk