Includes, clean-up

We are trying to avoid including stuff whenever possible.
Forward declarations are prefered in most cases, just in case...
This commit is contained in:
Artur Meski
2018-09-22 20:05:35 +01:00
parent d4ac425963
commit a36ed9651f
15 changed files with 103 additions and 153 deletions

View File

@@ -13,11 +13,12 @@
#include <algorithm>
#include <map>
#include <cassert>
#include <iostream>
#include "cudd.hh"
#include "types.hh"
#include "macro.hh"
#include "bdd_macro.hh"
#include "rs.hh"
// #include "rs.hh"
#include "options.hh"
#include "memtime.hh"
@@ -27,6 +28,8 @@ using std::endl;
using std::vector;
using std::map;
class RctSys;
class SymRS
{
friend class ModelChecker;
@@ -87,10 +90,7 @@ class SymRS
{
return totalRctSysStateVars;
}
BDD encEntity(std::string proc_name, std::string entity_name) const
{
return encEntity(rs->getProcessID(proc_name), rs->getEntityID(entity_name));
}
BDD encEntity(std::string proc_name, std::string entity_name) const;
BDD encActStrEntity(std::string proc_name, std::string entity_name) const;
BDD getBDDtrue(void) const
{
@@ -106,10 +106,7 @@ class SymRS
*
* @return True if CA is used
*/
bool usingContextAutomaton(void)
{
return rs->ctx_aut != nullptr;
}
bool usingContextAutomaton(void);
/**
* @brief Encodes a context automaton's state