major folder reorganisation, R pkg is now epclust/ at first level. Experimental usage...
[epclust.git] / old_C_code / stage1 / src / main.c
similarity index 99%
rename from code/stage1/src/main.c
rename to old_C_code/stage1/src/main.c
index 992b97c..9800778 100644 (file)
@@ -210,15 +210,15 @@ int classif_main(int argc, char** argv)
                if (tsLength1 > tsLength2)
                        tsLength1 = tsLength2;
        }
-       uint32_t nbValues = (tsLength1 - 4) / 3;
-       
+       uint32_t nbValues = (tsLength1 - 4) / 4;
+
        // 2] Classify all series by batches of CURVES_PER_REQUEST
        uint32_t nbSeries = get_nbSeries(ifileName);
        PowerCurve* medoids = deserialize(binFileName, NULL, ranks, nbClusters);
        free(binFileName);
        free(ranks);
        ranks = (uint32_t*)malloc(CURVES_PER_REQUEST*sizeof(uint32_t));
-       
+
        uint32_t smallestNonProcessedIndex = 0;
        double DISTOR = 0.0;
        while (smallestNonProcessedIndex < nbSeries)