APPFS
Advanced practical programming for scientists
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
bip_enum.h
Go to the documentation of this file.
1 
6 #ifndef _BIP_ENUM_H_
7 #define _BIP_ENUM_H_
8 
9 typedef struct binary_program BIP;
10 
11 // Good Interface?
12 
13 extern void bip_init(void);
14 extern void bip_free(BIP* bip);
15 extern BIP* bip_read(const char* filename);
16 extern void bip_print(const BIP* bip, FILE* fp);
17 extern int bip_enumerate(const BIP* bip, bool with_output);
18 // extern void bip_exit(void);
19 
20 
21 #endif // _BIP_ENUM_H_
void bip_free(BIP *bip)
Deallocate BIP data structure.
Definition: bip_enum.c:133
int bip_enumerate(const BIP *bip, bool with_output)
Enumerate all possible solution of a BIP.
Definition: bip_enum.c:439
void bip_init(void)
Definition: bip_enum.c:91
void bip_print(const BIP *bip, FILE *fp)
Print Binary Program from BIP.
Definition: bip_enum.c:359
BIP * bip_read(const char *filename)
Read a bip file.
Definition: bip_enum.c:296