Displaying 1 result from an estimated 1 matches for "trtotal".
2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
...1 = (int*)realloc(ruleset->trnb, size1 *sizeof(int));
if (!vec1) {
if (vec) free(vec);
if (vec2) free(vec2);
_cleanup(); error(msg(E_NOMEM));}
ruleset->trnb = vec1;
}
(...)
if (flags & OF_LIST) { /* if to list the transactions, */
h = ruleset->trtotal;
if (supp < 0) { /* if bit vector representation */
for (i = 0; i < tacnt; i++) { /* traverse the bit vector */
if (h >= size2) {
size2 += (size2 > BLKSIZE) ? (size2 >> 1) : BLKSIZE;
vec1 = (int*)realloc(ruleset->trans, size2 *sizeof(int));...