Avoid importing the std namespace
This commit is contained in:
@@ -7,7 +7,11 @@
|
||||
#include "TinySet.h"
|
||||
#include "Horus.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class EgNode;
|
||||
|
||||
typedef TinySet<EgNode*> EGNeighs;
|
||||
|
||||
|
||||
enum ElimHeuristic
|
||||
{
|
||||
@@ -19,11 +23,6 @@ enum ElimHeuristic
|
||||
};
|
||||
|
||||
|
||||
class EgNode;
|
||||
|
||||
typedef TinySet<EgNode*> EGNeighs;
|
||||
|
||||
|
||||
class EgNode : public Var
|
||||
{
|
||||
public:
|
||||
@@ -83,9 +82,9 @@ class ElimGraph
|
||||
|
||||
void connectAllNeighbors (const EgNode*);
|
||||
|
||||
vector<EgNode*> nodes_;
|
||||
TinySet<EgNode*> unmarked_;
|
||||
unordered_map<VarId, EgNode*> varMap_;
|
||||
std::vector<EgNode*> nodes_;
|
||||
TinySet<EgNode*> unmarked_;
|
||||
std::unordered_map<VarId, EgNode*> varMap_;
|
||||
|
||||
static ElimHeuristic elimHeuristic_;
|
||||
|
||||
|
Reference in New Issue
Block a user