GNU PROLOG with UTF8 support
Macros | Typedefs | Functions
fd_values_c.c File Reference
#include <stdlib.h>
#include "engine_pl.h"
#include "bips_pl.h"
#include "engine_fd.h"
#include "bips_fd.h"
Include dependency graph for fd_values_c.c:

Macros

#define METHOD_MIN   0
 
#define METHOD_MAX   1
 
#define METHOD_RANDOM_V   2
 
#define METHOD_MIDDLE   3
 
#define METHOD_BISECT   4
 
#define METHOD_LIMITS   5
 
#define METHOD_LIMITS_MIN   METHOD_LIMITS
 
#define METHOD_LIMITS_MAX   (METHOD_LIMITS + 1)
 
#define METHOD_STANDARD   0
 
#define METHOD_FIRST_FAIL   1
 
#define METHOD_MOST_CONSTRAINED   2
 
#define METHOD_SMALLEST   3
 
#define METHOD_LARGEST   4
 
#define METHOD_MAX_REGRET   5
 
#define METHOD_RANDOM   6
 
#define INDOMAIN_ALT   X1_24696E646F6D61696E5F616C74
 
#define EXTRA_CSTR_ALT   X1_2465787472615F637374725F616C74
 
#define PACK_ARRAY
 

Typedefs

typedef Bool(* CmpFct) ()
 

Functions

static Bool Cmp_First_Fail (WamWord *last_fdv_adr, WamWord *new_fdv_adr)
 
static Bool Cmp_Most_Constrained (WamWord *last_fdv_adr, WamWord *new_fdv_adr)
 
static Bool Cmp_Smallest (WamWord *last_fdv_adr, WamWord *new_fdv_adr)
 
static Bool Cmp_Largest (WamWord *last_fdv_adr, WamWord *new_fdv_adr)
 
static Bool Cmp_Max_Regret (WamWord *last_fdv_adr, WamWord *new_fdv_adr)
 
 Prolog_Prototype (INDOMAIN_ALT, 0)
 
 Prolog_Prototype (EXTRA_CSTR_ALT, 0)
 
Bool pl_fd_domain_r (WamWord x_word, WamWord r_word)
 
Bool Pl_Fd_Domain_2 (WamWord list_word, WamWord r_word)
 
Bool Pl_Fd_Domain_Interval (WamWord x_word, int min, int max)
 
Bool Pl_Fd_Domain_Var_3 (WamWord x_word, WamWord l_word, WamWord u_word)
 
Bool Pl_Fd_Domain_3 (WamWord list_word, WamWord l_word, WamWord u_word)
 
static int Select_Value (WamWord *fdv_adr, int value_method)
 
Bool Pl_Indomain_2 (WamWord x_word, WamWord method_word)
 
Bool Pl_Indomain_Alt_0 (void)
 
Bool Pl_Extra_Cstr_Alt_0 (void)
 
Bool Pl_Fd_Sel_Array_From_List_2 (WamWord list_word, WamWord sel_array_word)
 
Bool Pl_Fd_Sel_Array_Pick_Var_4 (WamWord sel_array_word, WamWord method_word, WamWord reorder_word, WamWord fdv_word)
 

Macro Definition Documentation

#define EXTRA_CSTR_ALT   X1_2465787472615F637374725F616C74
#define INDOMAIN_ALT   X1_24696E646F6D61696E5F616C74
#define METHOD_BISECT   4
#define METHOD_FIRST_FAIL   1
#define METHOD_LARGEST   4
#define METHOD_LIMITS   5
#define METHOD_LIMITS_MAX   (METHOD_LIMITS + 1)
#define METHOD_LIMITS_MIN   METHOD_LIMITS
#define METHOD_MAX   1
#define METHOD_MAX_REGRET   5
#define METHOD_MIDDLE   3
#define METHOD_MIN   0
#define METHOD_MOST_CONSTRAINED   2
#define METHOD_RANDOM   6
#define METHOD_RANDOM_V   2
#define METHOD_SMALLEST   3
#define METHOD_STANDARD   0
#define PACK_ARRAY

Typedef Documentation

typedef Bool(* CmpFct) ()

Function Documentation

static Bool Cmp_First_Fail ( WamWord last_fdv_adr,
WamWord new_fdv_adr 
)
static

Here is the caller graph for this function:

static Bool Cmp_Largest ( WamWord last_fdv_adr,
WamWord new_fdv_adr 
)
static

Here is the caller graph for this function:

static Bool Cmp_Max_Regret ( WamWord last_fdv_adr,
WamWord new_fdv_adr 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static Bool Cmp_Most_Constrained ( WamWord last_fdv_adr,
WamWord new_fdv_adr 
)
static

Here is the caller graph for this function:

static Bool Cmp_Smallest ( WamWord last_fdv_adr,
WamWord new_fdv_adr 
)
static

Here is the caller graph for this function:

Bool Pl_Extra_Cstr_Alt_0 ( void  )

Here is the call graph for this function:

Bool Pl_Fd_Domain_2 ( WamWord  list_word,
WamWord  r_word 
)

Here is the call graph for this function:

Bool Pl_Fd_Domain_3 ( WamWord  list_word,
WamWord  l_word,
WamWord  u_word 
)

Here is the call graph for this function:

Bool Pl_Fd_Domain_Interval ( WamWord  x_word,
int  min,
int  max 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool pl_fd_domain_r ( WamWord  x_word,
WamWord  r_word 
)

Here is the caller graph for this function:

Bool Pl_Fd_Domain_Var_3 ( WamWord  x_word,
WamWord  l_word,
WamWord  u_word 
)

Here is the call graph for this function:

Bool Pl_Fd_Sel_Array_From_List_2 ( WamWord  list_word,
WamWord  sel_array_word 
)

Here is the call graph for this function:

Bool Pl_Fd_Sel_Array_Pick_Var_4 ( WamWord  sel_array_word,
WamWord  method_word,
WamWord  reorder_word,
WamWord  fdv_word 
)

Here is the call graph for this function:

Bool Pl_Indomain_2 ( WamWord  x_word,
WamWord  method_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Indomain_Alt_0 ( void  )

Here is the call graph for this function:

Prolog_Prototype ( INDOMAIN_ALT  ,
 
)
Prolog_Prototype ( EXTRA_CSTR_ALT  ,
 
)
static int Select_Value ( WamWord fdv_adr,
int  value_method 
)
static

Here is the call graph for this function:

Here is the caller graph for this function: