Skip to content

Commit

Permalink
Change Glucose to NSPACE in src and include files
Browse files Browse the repository at this point in the history
This change will ease changing SAT solver

Signed-off-by: Prateek Kumar <[email protected]>
  • Loading branch information
prateekkumarweb committed Sep 20, 2018
1 parent 51c06c3 commit 686a4d0
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion include/cclause.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <vector>
class Clauses;

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Class for representing a clause.
Expand Down
2 changes: 1 addition & 1 deletion include/clauses.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "time_tabler.h"
#include <vector>

using namespace Glucose;
using namespace NSPACE;

class CClause;

Expand Down
2 changes: 1 addition & 1 deletion include/constraint_adder.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "global.h"
class TimeTabler;

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Class for constraint adder.
Expand Down
2 changes: 1 addition & 1 deletion include/constraint_encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "time_tabler.h"
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Class for constraint encoder.
Expand Down
2 changes: 1 addition & 1 deletion include/data.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <string>
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Class for data.
Expand Down
2 changes: 1 addition & 1 deletion include/time_tabler.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "tsolver.h"
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Enum to store the solver status
Expand Down
2 changes: 1 addition & 1 deletion include/tsolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "mtl/Vec.h"
#include <vector>

using namespace Glucose;
using namespace NSPACE;
using namespace openwbo;

/**
Expand Down
8 changes: 4 additions & 4 deletions include/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
#include <string>
#include <vector>

using namespace Glucose;
using namespace NSPACE;

namespace Utils {

/**
* @brief Converts a std::vector to a Glucose::vec.
* @brief Converts a std::vector to a NSPACE::vec.
*
* @param[in] inputs The input vector
*
Expand All @@ -31,7 +31,7 @@ template <typename T> vec<T> convertVectorToVec(std::vector<T> inputs) {
}

/**
* @brief Converts a Glucose::vec to a std::vector.
* @brief Converts a NSPACE::vec to a std::vector.
*
* @param[in] inputs The input vec
*
Expand All @@ -48,7 +48,7 @@ template <typename T> std::vector<T> convertVecToVector(vec<T> inputs) {
}

/**
* @brief Converts given data and size, a Glucose::vec to a std::vector.
* @brief Converts given data and size, a NSPACE::vec to a std::vector.
*
* @param data The data pointer
* @param[in] size The size
Expand Down
2 changes: 1 addition & 1 deletion src/cclause.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <iostream>
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Constructs the CClause object.
Expand Down
2 changes: 1 addition & 1 deletion src/clauses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <iostream>
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Constructs the Clauses object.
Expand Down
2 changes: 1 addition & 1 deletion src/constraint_adder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <iostream>
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Constructs the ConstraintAdder object.
Expand Down
2 changes: 1 addition & 1 deletion src/constraint_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <iostream>
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Constructs the ConstraintEncoder object.
Expand Down
2 changes: 1 addition & 1 deletion src/time_tabler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <iostream>
#include <vector>

using namespace Glucose;
using namespace NSPACE;

/**
* @brief Constructs the TimeTabler object.
Expand Down
2 changes: 1 addition & 1 deletion src/tsolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "mtl/Vec.h"
#include "utils.h"

using namespace Glucose;
using namespace NSPACE;
using namespace openwbo;

/**
Expand Down

0 comments on commit 686a4d0

Please sign in to comment.