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)
|
||||
{
|
||||
if (!hasEntity(entityName)) {
|
||||
|
||||
2
rs.hh
2
rs.hh
@@ -49,8 +49,6 @@ class RctSys
|
||||
Process getProcessID(std::string processName);
|
||||
std::string getProcessName(Process processID);
|
||||
|
||||
void printEntitiesPerProc(const EntitiesForProc &proc_entities);
|
||||
|
||||
void addReactionForCurrentProcess(Reaction reaction);
|
||||
|
||||
void pushReactant(std::string entityName);
|
||||
|
||||
Reference in New Issue
Block a user