Cleanup
This commit is contained in:
14
rs.cc
14
rs.cc
@@ -119,20 +119,6 @@ std::string RctSys::getProcessName(Process processID)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RctSys::printEntitiesPerProc(const EntitiesForProc &proc_entities)
|
|
||||||
{
|
|
||||||
for (const auto &pe : proc_entities) {
|
|
||||||
std::string proc_name = getProcessName(pe.first);
|
|
||||||
cout << proc_name << ": ";
|
|
||||||
|
|
||||||
for (const auto &ent : pe.second) {
|
|
||||||
cout << getEntityName(ent) << " ";
|
|
||||||
}
|
|
||||||
|
|
||||||
cout << endl;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void RctSys::pushReactant(std::string entityName)
|
void RctSys::pushReactant(std::string entityName)
|
||||||
{
|
{
|
||||||
if (!hasEntity(entityName)) {
|
if (!hasEntity(entityName)) {
|
||||||
|
|||||||
2
rs.hh
2
rs.hh
@@ -49,8 +49,6 @@ class RctSys
|
|||||||
Process getProcessID(std::string processName);
|
Process getProcessID(std::string processName);
|
||||||
std::string getProcessName(Process processID);
|
std::string getProcessName(Process processID);
|
||||||
|
|
||||||
void printEntitiesPerProc(const EntitiesForProc &proc_entities);
|
|
||||||
|
|
||||||
void addReactionForCurrentProcess(Reaction reaction);
|
void addReactionForCurrentProcess(Reaction reaction);
|
||||||
|
|
||||||
void pushReactant(std::string entityName);
|
void pushReactant(std::string entityName);
|
||||||
|
|||||||
5
symrs.cc
5
symrs.cc
@@ -83,11 +83,10 @@ void SymRS::mapProcEntities(void)
|
|||||||
// for (const )
|
// for (const )
|
||||||
// usedCtxEntities
|
// usedCtxEntities
|
||||||
|
|
||||||
rs->printEntitiesPerProc(usedProducts);
|
cout << rs->procEntitiesToStr(usedProducts) << endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BDD SymRS::encEntity_raw(Entity entity, bool succ) const
|
BDD SymRS::encEntity_raw(Entity entity, bool succ) const
|
||||||
{
|
{
|
||||||
BDD r;
|
BDD r;
|
||||||
|
|||||||
Reference in New Issue
Block a user