2006-02-21 20:29:05 +00:00
|
|
|
#ifndef HIDELEVELS
|
|
|
|
#define HIDELEVELS
|
|
|
|
|
|
|
|
#include "term.h"
|
|
|
|
#include "system.h"
|
|
|
|
|
2006-02-22 08:24:29 +00:00
|
|
|
/*
|
|
|
|
* Flags for hidelevel lemma
|
|
|
|
*
|
|
|
|
* Use binary or (|) to compose results: by default, a term can be satisfied by
|
|
|
|
* both the protocol and the initial knowledge.
|
|
|
|
*/
|
|
|
|
#define HLFLAG_BOTH 0
|
|
|
|
#define HLFLAG_KNOW 1
|
|
|
|
#define HLFLAG_PROT 2
|
|
|
|
#define HLFLAG_NONE 3
|
|
|
|
|
2006-02-21 20:29:05 +00:00
|
|
|
/*
|
|
|
|
* The structure hiddenterm/Hiddenterm is defined in system.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
void hidelevelCompute (const System sys);
|
|
|
|
int hidelevelInteresting (const System sys, const Term goalterm);
|
|
|
|
int hidelevelImpossible (const System sys, const Term goalterm);
|
2006-02-22 15:48:58 +00:00
|
|
|
unsigned int hidelevelFlag (const System sys, const Term goalterm);
|
2006-02-21 20:29:05 +00:00
|
|
|
|
|
|
|
#endif
|