Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Config.h

00001 #ifndef MMANN_CONFIG_H
00002 #define MMANN_CONFIG_H
00003 
00004 /***********************
00005 These are the presets for freecell.
00006 May decide to get rid of these max presets altogether at some point
00007 
00008 #define MAX_NUM_INITIAL_CARDS_IN_A_STACK 7
00009 #define MAX_NUM_STACKS                  8
00010 #define MAX_NUM_FREECELLS               4
00011 #define MAX_NUM_DECKS                   2
00012 **********************************/
00013 
00014 //These max presets handle all games currently solvable by SF's solver
00015 #define MAX_NUM_INITIAL_CARDS_IN_A_STACK 10
00016 #define MAX_NUM_STACKS                  13
00017 #define MAX_NUM_FREECELLS               8
00018 #define MAX_NUM_DECKS                   2
00019 
00020 #if MAX_NUM_INITIAL_CARDS_IN_A_STACK+12>(MAX_NUM_DECKS*52)
00021 #define MAX_NUM_CARDS_IN_A_STACK (MAX_NUM_DECKS*52)
00022 #else
00023 #define MAX_NUM_CARDS_IN_A_STACK (MAX_NUM_INITIAL_CARDS_IN_A_STACK+12)
00024 #endif
00025 
00026 //These defaults assume freecell is the default game
00027 #define DEFAULT_NUMBER_OF_FREECELLS     4
00028 #define DEFAULT_NUMBER_OF_STACKS        8
00029 #define DEFAULT_NUMBER_OF_DECKS         1
00030 #define DEFAULT_STATE_TYPE              FC_DEBUG_STATE
00031 #define DEFAULT_STATE_STORAGE_TYPE      FC_AVL_TREE
00032 #define DEFAULT_STACK_STORAGE_TYPE      FC_AVL_TREE
00033 #define DEFAULT_BUILD_SEQUENCE_TYPE     FCS_SEQ_BUILT_BY_ALTERNATE_COLOR
00034 #define DEFAULT_EMPTY_STACK_FILL_TYPE   FCS_ES_FILLED_BY_ANY_CARD
00035 #define DEFAULT_SOLVING_METHOD          FCS_METHOD_HARD_DFS
00036 
00037 #define FCS_TESTS_NUM 10
00038 
00039 #define FC_MAX_STATE_PACK_LENGTH        0x10000
00040 #define IA_STATE_PACKS_GROW_BY          32
00041 #define INCREASE_DFS_MAX_DEPTH_BY       16
00042 #define STATE_STRING_SIZE               2000
00043 
00044 #endif

Generated on Sat Nov 5 11:20:15 2005 for Cpp Freecell Solver by  doxygen 1.4.4