|
Defines |
#define | new_entry(NEW_ENTRY,RELEASED,NEXT_FREE,CURRENT_BLOCK,CURRENT_BLOCK_TOP,NEXT_FUNCTION,ENTRY_TYPE,BLOCK_SIZE,ABORT_MESG) |
#define | release_entry(ENTRY_TO_BE_RELEASED,RELEASED,NEXT_FUNCTION) |
#define | remove_pnde(PNDE_HEAD, PNDE_ITEM) |
Functions |
static void | simplify_neg_succeeds (CTXTdeclc VariantSF) |
void | simplify_pos_unsupported (CTXTdeclc NODEptr) |
static void | simplify_pos_unconditional (CTXTdeclc NODEptr) |
unsigned long | allocated_de_space (int *num_blocks) |
static int | released_de_num (void) |
unsigned long | unused_de_space (void) |
unsigned long | allocated_dl_space (int *num_blocks) |
static int | released_dl_num (void) |
unsigned long | unused_dl_space (void) |
static DE | intern_delay_element (CTXTdeclc Cell delay_elem) |
static DL | intern_delay_list (CTXTdeclc CPtr dlist) |
static void | record_de_usage (DL dl) |
void | do_delay_stuff (CTXTdeclc NODEptr as_leaf, VariantSF subgoal, xsbBool sf_exists) |
xsbBool | answer_is_junk (CPtr dlist) |
static xsbBool | remove_de_from_dl (DE de, DL dl) |
static xsbBool | remove_dl_from_dl_list (DL dl, ASI asi) |
static void | handle_empty_dl_creation (CTXTdeclc DL dl) |
static void | handle_unsupported_answer_subst (CTXTdeclc NODEptr as_leaf) |
void | release_all_dls (ASI asi) |
void | simplify_neg_fails (CTXTdeclc VariantSF subgoal) |
void | abolish_wfs_space (CTXTdecl) |
void | force_answer_true (CTXTdeclc NODEptr as_leaf) |
void | force_answer_false (CTXTdeclc NODEptr as_leaf) |
Variables |
static unsigned long | de_block_size_glc = 2048 * sizeof(struct delay_element) |
static unsigned long | dl_block_size_glc = 2048 * sizeof(struct delay_list) |
static unsigned long | pnde_block_size_glc = 2048 *sizeof(struct pos_neg_de_list) |
static char * | current_de_block_gl = NULL |
static char * | current_dl_block_gl = NULL |
static char * | current_pnde_block_gl = NULL |
static DE | released_des_gl = NULL |
static DL | released_dls_gl = NULL |
static PNDE | released_pndes_gl = NULL |
static DE | next_free_de_gl = NULL |
static DL | next_free_dl_gl = NULL |
static PNDE | next_free_pnde_gl = NULL |
static DE | current_de_block_top_gl = NULL |
static DL | current_dl_block_top_gl = NULL |
static PNDE | current_pnde_block_top_gl = NULL |