Context automaton works with RS
This commit is contained in:
18
symrs.hh
18
symrs.hh
@@ -59,6 +59,7 @@ class SymRS
|
||||
vector<BDD> *pv_ca_succ;
|
||||
BDD *pv_ca_E;
|
||||
BDD *pv_ca_succ_E;
|
||||
BDD *tr_ca;
|
||||
|
||||
unsigned int totalReactions;
|
||||
unsigned int totalStateVars;
|
||||
@@ -118,7 +119,11 @@ class SymRS
|
||||
void mapStateToAct(void);
|
||||
void encode(void);
|
||||
|
||||
int getMappedStateToActID(int stateID) const { assert(stateID < static_cast<int>(totalStateVars)); return stateToAct[stateID]; }
|
||||
int getMappedStateToActID(int stateID) const
|
||||
{
|
||||
assert(stateID < static_cast<int>(totalStateVars));
|
||||
return stateToAct[stateID];
|
||||
}
|
||||
|
||||
size_t getCtxAutStateEncodingSize(void);
|
||||
|
||||
@@ -192,15 +197,20 @@ public:
|
||||
* @return Returns a vector of BDDs
|
||||
*/
|
||||
vector<BDD> *getEncCtxAutPVsucc(void) { return pv_ca_succ; }
|
||||
|
||||
/**
|
||||
* @brief Encodes the monolithic transition relation
|
||||
*/
|
||||
void encodeCtxAutTrans(void);
|
||||
|
||||
/**
|
||||
* @brief Encodes the monolithic transition relation
|
||||
* @brief Getter for context automaton's transition relation
|
||||
*
|
||||
* @return Returns a BDD encoding the transition relation
|
||||
*/
|
||||
BDD *getEncCtxAutTrans(void);
|
||||
BDD *getEncCtxAutTrans(void) { return tr_ca; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/** EOF **/
|
||||
/** EOF **/
|
||||
|
||||
Reference in New Issue
Block a user