| 1 |
****************************************************************** |
| 2 |
|
| 3 |
1. The author is not liable for any damage on your side caused |
| 4 |
as a result of using this program. Use it at your own risk. |
| 5 |
|
| 6 |
2. This code is provided as is. Bugs may be reported to the |
| 7 |
author ([email protected]), but bear in mind that the |
| 8 |
author has no duty to remedy for the deficiencies of the |
| 9 |
program. |
| 10 |
|
| 11 |
3. Contributions towards this program are greatly appreciated, |
| 12 |
especially in making this code faster (optimisation). When |
| 13 |
you have changed the program, or implemented the program for |
| 14 |
other OS or environment, it would be grateful if you could |
| 15 |
specify the part you have changed. |
| 16 |
|
| 17 |
****************************************************************** |
| 18 |
|
| 19 |
This directory contains the source code for computing the minimum |
| 20 |
Hamming weight of linear codes over GF(2) and GF(3). The executable |
| 21 |
minimum-weight is called within GUAVA by the MinimumWeight function. |
| 22 |
|
| 23 |
This code is known to run in the following platforms: |
| 24 |
o X11 under Mac OS X (PowerPC) - 32 bit machine |
| 25 |
o Windows XP running Cygwin - 32 bit machine |
| 26 |
o Linux 2.6 - 32 bit machine |
| 27 |
o Linux 2.6 - 64 bit machine |
| 28 |
|
| 29 |
You can also use this executable without having to launch GUAVA. |
| 30 |
This code expects a generator matrix as an input and the format of |
| 31 |
the matrix may be easily explained with this example. |
| 32 |
|
| 33 |
6 12 3 |
| 34 |
1 0 2 1 2 2 0 0 0 0 0 1 |
| 35 |
0 1 0 2 1 2 2 0 0 0 0 1 |
| 36 |
0 0 1 0 2 1 2 2 0 0 0 1 |
| 37 |
0 0 0 1 0 2 1 2 2 0 0 1 |
| 38 |
0 0 0 0 1 0 2 1 2 2 0 1 |
| 39 |
0 0 0 0 0 1 0 2 1 2 2 1 |
| 40 |
|
| 41 |
The above example is the generator matrix of a code of length 12 |
| 42 |
and dimension 6 over GF(3). To compute the minimum Hamming weight |
| 43 |
of the code above, you can use the following command: |
| 44 |
|
| 45 |
minimum-weight GeneratorMatrix.File |
| 46 |
|
| 47 |
where GeneratorMatrix.File contains the generator matrix described |
| 48 |
above. For further information on the other parameters, run |
| 49 |
|
| 50 |
minimum-weight --help |
| 51 |
|
| 52 |
To produce the executable, refer to the Makefile in GUAVA's main |
| 53 |
directory. |
| 54 |
|
| 55 |
|
| 56 |
CJ, Tjhai |
| 57 |
email: [email protected] |
| 58 |
Homepage: www.plymouth.ac.uk/staff/ctjhai |
| 59 |
|
| 60 |
18 March 2008 |