Differences between revisions 3 and 4
Revision 3 as of 2007-06-21 03:55:51
Size: 662
Editor: 71-212-3-40
Comment:
Revision 4 as of 2007-06-21 04:03:03
Size: 3318
Editor: 71-212-3-40
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
   * attachment:huffman-matrix4
 2. Running out of memory:
   * The following codes commonly cause an out of memory condition. Even if this doesn't happen, they are still good benchmarks for memory use:
{{{
Example 1:
1111111111110000000000001100000000
0000000000001010100000000010101011
0000000000000101010000000001010111
0000000000000000001010100000001110
0000000000000000000101010000001101
0000001010101010100000001000100000
0000000101010101010000000100010000
1010100000001010100000001010000000
0101010000000101010000000101000000
0010100000000010100011110000000000
0001010000000001010011110000000000
1000100000001000101100110000000000
0100010000000100011100110000000000
0000000010100011110010100000000000
0000000001010011110001010000000000
0000001000101100111000100000000000
0000000100011100110100010000000000

Example 2:
1111111111110000000000001100000000
0000000000001010100000000010101011
0000000000000101010000000001010111
0000000000000000001010100000001110
0000000000000000000101010000001101
0000001010101010100000001000100000
0000000101010101010000000100010000
1010100000001010100000001010000000
0101010000000101010000000101000000
0010100000000010100011110000000000
0001010000000001010011110000000000
1000100000001000101100110000000000
0100010000000100011100110000000000
0000000010100011110001010000000000
0000000001010011110010100000000000
0000001000101100110100010000000000
0000000100011100111000100000000000

Example 3:
1111111111110000000000001100000000
0000000000000000001111110010101010
0000000000000000001111110001010101
0000000000001010101010100000000011
0000000000000101010101010000000011
0000001010100000000000001000101000
0000000101010000000000000100010100
1010100000000000000000001010001000
0101010000000000000000000101000100
0010100000000010100011110000000000
0001010000000001010011110000000000
1000100000001000101100110000000000
0100010000000100011100110000000000
0000000010100011110010100000000000
0000000001010011110001010000000000
0000001000101100111000100000000000
0000000100011100110100010000000000

Example 4:
1111111111110000000000001100000000
0000000000000000001111110010101010
0000000000000000001111110001010101
0000000000001010101010100000000011
0000000000000101010101010000000011
0000001010100000000000001000101000
0000000101010000000000000100010100
1010100000000000000000001010001000
0101010000000000000000000101000100
0010100000000001010011110000000000
0001010000000010100011110000000000
1000100000000100011100110000000000
0100010000001000101100110000000000
0000000010100011110001010000000000
0000000001010011110010100000000000
0000001000101100110100010000000000
0000000100011100111000100000000000

}}}

[:reu07: Back to the REU wiki]

J.S. Leon's [http://tigger.uic.edu/~jleon/ webpage]

Goals

  • Fix up Leon's code for modern use.

Known Bugs in Leon

  1. Related to reading the input file:

./wtdist huffman-code4.gap 6 huffman-matrix4 // seems to work, creates huffman-matrix4 file
./desauto -code huffman-code4.gap huffman-matrix4 huffman-autgp4 // does not work

output:
Error: Library block huffman-matrix4 not found in specified library.
Program was executing function read01Matrix (line 234 in file
../../src/leon/src/readdes.c).
  • Related files:
    • attachment:huffman-code4.gap
  • Running out of memory:
    • The following codes commonly cause an out of memory condition. Even if this doesn't happen, they are still good benchmarks for memory use:

Example 1:
1111111111110000000000001100000000
0000000000001010100000000010101011
0000000000000101010000000001010111
0000000000000000001010100000001110
0000000000000000000101010000001101
0000001010101010100000001000100000
0000000101010101010000000100010000
1010100000001010100000001010000000
0101010000000101010000000101000000
0010100000000010100011110000000000
0001010000000001010011110000000000
1000100000001000101100110000000000
0100010000000100011100110000000000
0000000010100011110010100000000000
0000000001010011110001010000000000
0000001000101100111000100000000000
0000000100011100110100010000000000

Example 2:
1111111111110000000000001100000000
0000000000001010100000000010101011
0000000000000101010000000001010111
0000000000000000001010100000001110
0000000000000000000101010000001101
0000001010101010100000001000100000
0000000101010101010000000100010000
1010100000001010100000001010000000
0101010000000101010000000101000000
0010100000000010100011110000000000
0001010000000001010011110000000000
1000100000001000101100110000000000
0100010000000100011100110000000000
0000000010100011110001010000000000
0000000001010011110010100000000000
0000001000101100110100010000000000
0000000100011100111000100000000000

Example 3:
1111111111110000000000001100000000
0000000000000000001111110010101010
0000000000000000001111110001010101
0000000000001010101010100000000011
0000000000000101010101010000000011
0000001010100000000000001000101000
0000000101010000000000000100010100
1010100000000000000000001010001000
0101010000000000000000000101000100
0010100000000010100011110000000000
0001010000000001010011110000000000
1000100000001000101100110000000000
0100010000000100011100110000000000
0000000010100011110010100000000000
0000000001010011110001010000000000
0000001000101100111000100000000000
0000000100011100110100010000000000

Example 4:
1111111111110000000000001100000000
0000000000000000001111110010101010
0000000000000000001111110001010101
0000000000001010101010100000000011
0000000000000101010101010000000011
0000001010100000000000001000101000
0000000101010000000000000100010100
1010100000000000000000001010001000
0101010000000000000000000101000100
0010100000000001010011110000000000
0001010000000010100011110000000000
1000100000000100011100110000000000
0100010000001000101100110000000000
0000000010100011110001010000000000
0000000001010011110010100000000000
0000001000101100110100010000000000
0000000100011100111000100000000000

Leon (last edited 2008-11-14 13:42:10 by localhost)