~ubuntu-branches/ubuntu/saucy/freecell-solver/saucy

« back to all changes in this revision

Viewing changes to config.h

  • Committer: Bazaar Package Importer
  • Author(s): RISKO Gergely
  • Date: 2009-03-15 23:42:21 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090315234221-sx95hxyfyfgi0pja
Tags: 2.16.0-1
* Imported Upstream version 2.16.0 (closes: #518440)
* cmake is the new buildsystem

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    config.h - Configuration file for Freecell Solver
 
3
 
 
4
    Written by Shlomi Fish, 2000
 
5
 
 
6
    This file is distributed under the public domain.
 
7
    (It is not copyrighted).
 
8
*/
 
9
 
 
10
#ifndef FC_SOLVE__CONFIG_H
 
11
#define FC_SOLVE__CONFIG_H
 
12
 
 
13
#ifdef __cplusplus
 
14
extern "C" {
 
15
#endif
 
16
 
 
17
/* #undef DEBUG_STATES */
 
18
/* #undef COMPACT_STATES */
 
19
#define INDIRECT_STACK_STATES
 
20
 
 
21
/* #undef CARD_DEBUG_PRES */
 
22
 
 
23
/*
 
24
 * Define this macro if the C compiler supports the keyword inline or
 
25
 * a similar keyword that was found by Autoconf (and defined as inline).
 
26
 * */
 
27
/* #undef HAVE_C_INLINE */
 
28
 
 
29
 
 
30
/*
 
31
    The sort margin size for the previous states array.
 
32
*/
 
33
#define PREV_STATES_SORT_MARGIN 32
 
34
/*
 
35
    The amount prev_states grow by each time it each resized.
 
36
    Should be greater than 0 and in order for the program to be
 
37
    efficient, should be much bigger than
 
38
    PREV_STATES_SORT_MARGIN.
 
39
*/
 
40
#define PREV_STATES_GROW_BY 128
 
41
 
 
42
/*
 
43
    The amount the pack pointers array grows by. Shouldn't be too high
 
44
    because it doesn't happen too often.
 
45
*/
 
46
#define IA_STATE_PACKS_GROW_BY 32
 
47
 
 
48
/*
 
49
 * The maximal number of Freecells. For efficiency's sake it should be a
 
50
 * multiple of 4.
 
51
 * */
 
52
 
 
53
#define MAX_NUM_FREECELLS 8
 
54
 
 
55
/*
 
56
 * The maximal number of Stacks. For efficiency's sake it should be a
 
57
 * multiple of 4.
 
58
 * */
 
59
 
 
60
#define MAX_NUM_STACKS 10
 
61
/*
 
62
 * The maximal number of initial cards that can be found in a stack.
 
63
 * */
 
64
#define MAX_NUM_INITIAL_CARDS_IN_A_STACK 8
 
65
 
 
66
#define MAX_NUM_DECKS 2
 
67
 
 
68
 
 
69
#define FCS_STATE_STORAGE_INDIRECT 0
 
70
#define FCS_STATE_STORAGE_INTERNAL_HASH 1
 
71
#define FCS_STATE_STORAGE_LIBAVL_AVL_TREE 2
 
72
#define FCS_STATE_STORAGE_LIBAVL_REDBLACK_TREE 3
 
73
#define FCS_STATE_STORAGE_LIBREDBLACK_TREE 4
 
74
#define FCS_STATE_STORAGE_GLIB_TREE 5
 
75
#define FCS_STATE_STORAGE_GLIB_HASH 6
 
76
#define FCS_STATE_STORAGE_DB_FILE 7
 
77
 
 
78
#define FCS_STACK_STORAGE_INTERNAL_HASH 0
 
79
#define FCS_STACK_STORAGE_LIBAVL_AVL_TREE 1
 
80
#define FCS_STACK_STORAGE_LIBAVL_REDBLACK_TREE 2
 
81
#define FCS_STACK_STORAGE_LIBREDBLACK_TREE 3
 
82
#define FCS_STACK_STORAGE_GLIB_TREE 4
 
83
#define FCS_STACK_STORAGE_GLIB_HASH 5
 
84
 
 
85
#define FCS_STATE_STORAGE FCS_STATE_STORAGE_INTERNAL_HASH
 
86
#define FCS_STACK_STORAGE FCS_STACK_STORAGE_INTERNAL_HASH
 
87
 
 
88
#ifdef __cplusplus
 
89
}
 
90
#endif
 
91
 
 
92
#endif
 
93
 
 
94
/* Define to 1 if you have the `avl' library (-lavl). */
 
95
#undef HAVE_LIBAVL
 
96
 
 
97
/* Define to 1 if you have the `glib' library (-lglib). */
 
98
#undef HAVE_LIBGLIB
 
99
 
 
100
/* Define to 1 if you have the `m' library (-lm). */
 
101
/* #undef HAVE_LIBM */
 
102
 
 
103
/* Define to 1 if you have the `redblack' library (-lredblack). */
 
104
#undef HAVE_LIBREDBLACK
 
105
 
 
106
/* Name of package */
 
107
#define PACKAGE ""
 
108
 
 
109
/* Define to the address where bug reports for this package should be sent. */
 
110
#define PACKAGE_BUGREPORT ""
 
111
 
 
112
/* Define to the full name of this package. */
 
113
#define PACKAGE_NAME ""
 
114
 
 
115
/* Define to the full name and version of this package. */
 
116
#define PACKAGE_STRING ""
 
117
 
 
118
/* Define to the one symbol short name of this package. */
 
119
#define PACKAGE_TARNAME ""
 
120
 
 
121
/* Define to the version of this package. */
 
122
#define PACKAGE_VERSION ""
 
123
 
 
124
/* Version number of package */
 
125
#define VERSION "2.16.0"
 
126
 
 
127
/* Define to `__inline__' or `__inline' if that's what the C compiler
 
128
   calls it, or to nothing if 'inline' is not supported under any name.  */
 
129
#ifndef __cplusplus
 
130
#undef inline
 
131
#endif
 
132