Commit e4eea6fc authored by SPARSA ROYCHOWDHURY's avatar SPARSA ROYCHOWDHURY

12/7/2017:

1. Some change done in the reduce shuffle function
2. Completely Indented code.
parent 8a8fb4bc
......@@ -2,7 +2,7 @@
using namespace std;
class transition{
public:
public:
short source; // source state
short target; // target state
......
......@@ -17,7 +17,7 @@ extern bool **open1, **open2; // temporary variables for storing some edge weigh
// state for timed automata
class stateZone{
public:
public:
char P; // number of points in this state
char f; // 7-th bit is 1 iff push at L is done, rightmost 7 bits used for L or L = f & 127
......@@ -53,7 +53,7 @@ class stateZone{
// partial run of the timed system as a sequence of pairs: (1) transition and (2) tsm value
class runZone{
public :
public :
short P; // #points
char *del; // transitions
short **w; // weight matrix
......@@ -68,7 +68,7 @@ class runZone{
// info to keep track parents of current state or who are the states generated current state
class trackZone{
public :
public :
char type; //***** type of operation : atomic : 0, addNextTPDA : 1, shuffle or combine : 2
int left; // *****shuffle left state index in the main vector
int right; // ****shuffle right state index in the main vector
......
......@@ -1012,18 +1012,18 @@ bool isEmptyGCPP() {
}
}
// vs1 = (allStates[8]).first;
// vs1->print();
// vs2 = vs1->sucState();
//
// vs2->print();
// vs = vs1->shuffle(vs2);
// vs->print();
//v = (allStates[2].first)->addNextTPDA();
// cout << v.size() << endl;
// for(i=0;i < v.size(); i++)
// v[i]->print();
// vs1 = (allStates[8]).first;
// vs1->print();
// vs2 = vs1->sucState();
//
// vs2->print();
// vs = vs1->shuffle(vs2);
// vs->print();
//v = (allStates[2].first)->addNextTPDA();
// cout << v.size() << endl;
// for(i=0;i < v.size(); i++)
// v[i]->print();
//cout << "\"" << (allStates[1].first)->shuffleCheck((allStates[6].first)) << "\"";
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment