typedefenum{leq=1,les,na}relation;// to implement open guards leq deontes the relation to be less than equal to, les means less than relation and na means notapplicable.
// state for general TPDA with pop ande push happens at the same time
// state for general TPDA with pop ande push happens at the same time
classstateGCPP{
classstateGCPP{
...
@@ -23,7 +23,9 @@ class stateGCPP{
...
@@ -23,7 +23,9 @@ class stateGCPP{
charL;// left point of the non-trivial block
charL;// left point of the non-trivial block
boolbig(chari,charj);// return true iff distance between point i to point j is big
relation**r_matrix;// the matrix of relation which denotes the relation between the points fractional part. clearly the size of the matrix is P*P as p is the total number of active colors.
boolbig(chari,charj);// return true iff distance between point i to point j is big
shortintdist(chari,charj);// return distance between point i to point j
shortintdist(chari,charj);// return distance between point i to point j