/*****************************/ /* Definitions used in Tree2 */ /*****************************/ #include #include #include #define Eof EOF /*char read on end of file*/ #define Nil 0 /*null pointer*/ #define false 0 #define true 1 #define Max(a,b) ((a)>(b) ? a : b) #define Min(a,b) ((a)<(b) ? a : b) #define ForEach(v,f,l) for(v=f ; v<=l ; ++v) #define ForAllIntervals(c1,k,c2) ForEach(k,0,MAXINTERVALS) ForEach(c1,0,MaxClass) ForEach(c2,0,MaxClass) #define DISCRETE 2 /* ditto: collect values as data read */