summaryrefslogtreecommitdiffstats
path: root/kpat/freecell-solver/caas.h
blob: e1969488acabfd2a19426015a214a58611bea831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#ifndef FC_SOLVE__CAAS_H
#define FC_SOLVE__CAAS_H

#ifdef __cplusplus
extern "C" {
#endif

/* #define FCS_USE_INLINE */
    
/*
 * check_and_add_state is defined in caas.c.
 *
 * DFS stands for Depth First Search which is the type of scan Freecell
 * Solver uses to solve a given board.
 * */

extern int freecell_solver_check_and_add_state(
    freecell_solver_soft_thread_t * soft_thread,
    fcs_state_with_locations_t * new_state,
    fcs_state_with_locations_t * * existing_state
    );

#ifdef __cplusplus
}
#endif

#endif /* #ifndef FC_SOLVE__CAAS_H */