You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* that uses 8 bytes per hash key and 4 bytes per unique count;
152
+
* that uses 8 bytes per hash key;
149
153
* that stores frequency counts;
150
154
* from the *N*-gram counts files contained in the directory `test_data`;
151
155
* that is serialized to the binary file `hash.bin`.
@@ -155,15 +159,15 @@ Tests
155
159
The `test` directory contains the unit tests of some of the fundamental building blocks used by the implemented data structures. As usual, running the executables without any arguments will show the list of their expected input parameters.
156
160
Examples:
157
161
158
-
./compact_vector_test 10000 13
159
-
./fast_ef_sequence_test 1000000 128
162
+
./test_compact_vector 10000 13
163
+
./test_fast_ef_sequence 1000000 128
160
164
161
165
The directory also contains the unit test for the data structures storing frequency counts, named `check_count_model`, which validates the implementation by checking that each count stored in the data structure is the same as the one provided in the input files from which the data structure was previously built.
where `count_data_structure.bin` is the name of the data structure binary file and `test_data` is the name of the folder containing the input *N*-gram counts files.
170
+
where `ef_trie.count.bin` is the name of the data structure binary file (maybe built with the command shown in Example 1) and `test_data` is the name of the folder containing the input *N*-gram counts files.
0 commit comments