#include <stddef.h>
#include <stdio.h>
#include <assert.h>
-#include <common/logic.h>
+#include <stdbool.h>
#include <common/memory.h>
LeafList_t *RTreeNewLeafList(Leaf_t * lp)
b.child = (Node_t *) data;
return AddBranch(rtp, &b, n, new);
} else { /* Not supposed to happen */
- assert(FALSE);
+ assert(false);
return 0;
}
}
#include <stdio.h>
#include <assert.h>
#include <label/split.q.h>
-#include <common/logic.h>
+#include <stdbool.h>
/* Forward declarations */
static void MethodZero(RTree_t * rtp);
assert(!rtp->split.Partitions[0].taken[i]);
rtp->split.Partitions[0].partition[i] = group;
- rtp->split.Partitions[0].taken[i] = TRUE;
+ rtp->split.Partitions[0].taken[i] = true;
if (rtp->split.Partitions[0].count[group] == 0)
rtp->split.Partitions[0].cover[group] =
rtp->split.Partitions[0].area[0] = rtp->split.Partitions[0].area[1] =
0;
for (size_t i = 0; i < NODECARD + 1; i++) {
- rtp->split.Partitions[0].taken[i] = FALSE;
+ rtp->split.Partitions[0].taken[i] = false;
rtp->split.Partitions[0].partition[i] = -1;
}
}