/*
 * Revision Control Information
 *
 * $Source: /vol/opua/opua2/sis/sis-1.2/common/src/stamina/mimi/RCS/max.h,v $
 * $Author: sis $
 * $Revision: 1.3 $
 * $Date: 1994/07/15 22:58:50 $
 *
 */
/* SCCSID %W% */

#define CONDITIONAL_COMPATIBLE 1
#define DEFINIT_COMPATIBLE 2
#define COMPATIBLE 3
#define INCOMPATIBLE 4
#define USED_AND_COMPATIBLE 0x1b
#define USED 16
#define N_MAX 100  		/* Number of Maximal Compatibles */
#define DONTCARE '-'

typedef struct maxies PRIME, **PRIMES;
typedef struct implied_states IMPLIED;
typedef struct top_implied CLASS;

struct top_implied {
	IMPLIED **imply;
	int many;
	int weight;
};

struct maxies {
	int num;
	int *state;
	CLASS class;
};

struct implied_states {
	int num;
	int *state;
};


#define MAX_PRIME 4084
#define SMASK(x) (x & 0x7fff)
#define SELECTED 	0x8000
#define FOREVER		1

extern p_num;
extern PRIMES prime;
extern PRIMES max;
extern IMPLIED **local_imply;
extern int *local_state;
