From a1a8bb868131b0d4239172e6d4b68e973c69b93b Mon Sep 17 00:00:00 2001 From: fc_botelho Date: Fri, 29 Jul 2005 19:43:21 +0000 Subject: [PATCH] BRZ algorithm is almost stable --- src/brz.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/brz.c b/src/brz.c index 761f4b6..17b7b68 100755 --- a/src/brz.c +++ b/src/brz.c @@ -196,7 +196,8 @@ cmph_t *brz_new(cmph_config_t *mph, float c) } // graphs_fd = fopen("/colecao/fbotelho/cmph.tmp", "wb"); - graphs_fd = fopen("cmph.tmp", "wb"); +/* graphs_fd = fopen("cmph.tmp", "wb");*/ + graphs_fd = fopen("/var/tmp/cmph.tmp", "wb"); if (graphs_fd == NULL) { free(brz->size); @@ -213,7 +214,8 @@ cmph_t *brz_new(cmph_config_t *mph, float c) DEBUGP("Graphs generated\n"); fclose(graphs_fd); // graphs_fd = fopen("/colecao/fbotelho/cmph.tmp", "rb"); - graphs_fd = fopen("cmph.tmp", "rb"); +/* graphs_fd = fopen("cmph.tmp", "rb");*/ + graphs_fd = fopen("/var/tmp/cmph.tmp", "rb"); // codigo do algoritmo... brz->h1 = (hash_state_t **)malloc(sizeof(hash_state_t *)*brz->k); brz->h2 = (hash_state_t **)malloc(sizeof(hash_state_t *)*brz->k);