Skip to content

Commit

Permalink
rename DTALite_DLL_test to test_dll
Browse files Browse the repository at this point in the history
- update the correspoding parts in .gitignore as well
- minor cleanup on main_api.cpp to remove duplicate inclusions
- update inclusions on main_api.cpp and signal_api.cpp
  • Loading branch information
jdlph committed Feb 27, 2021
1 parent 29d5a01 commit deb5809
Show file tree
Hide file tree
Showing 39 changed files with 8 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ debug/
test/link_performance.csv
test/agent.csv
test/solution.csv
# untrack output files in DTALite_DLL_test folder
DTALite_DLL_test/link_performance.csv
DTALite_DLL_test/agent.csv
DTALite_DLL_test/solution.csv
DTALite_DLL_test/log.txt
# untrack output files in test_dll folder
test_dll/link_performance.csv
test_dll/agent.csv
test_dll/solution.csv
test_dll/log.txt
# untrack build folder for building shared libraries
build/
4 changes: 2 additions & 2 deletions src/v2/DLL_src/DP/FlashDTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ typedef basic_teestream<char> teestream;

extern teestream log_out;
extern double SignalAPI(int iteration_number, int MainSigModual_mode, int signal_updating_output);
#include "..\AgentLite\main_api.cpp";
#include "..\AgentLite\signal_api.cpp";
#include "main_api.cpp";
#include "signal_api.cpp";

std::ofstream file("log.csv");
teestream log_out(std::cout, file);
Expand Down
4 changes: 0 additions & 4 deletions src/v2/DLL_src/DP/main_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@
#include <functional>
#include <stdio.h>
#include <math.h>


#include <stack>
#include <string>
#include <vector>
#include <map>
#include <sstream>
#include <iostream>
#include <iomanip>
#include "MathLibrary.h"
#include <cstring>
Expand All @@ -36,7 +33,6 @@ using std::vector;
using std::map;
using std::istringstream;
using std::max;
template <typename T>

// some basic parameters setting

Expand Down
3 changes: 1 addition & 2 deletions src/v2/Exe_src/AgentLite/DTALite_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

#include "stdafx.h"


#include "C:\SourceCode\DTALite_DLL\DTALite\src\Exe_src\AgentLite\main_api.cpp"
#include "main_api.cpp"


int main(int argc, TCHAR* argv[], TCHAR* envp[])
Expand Down
4 changes: 0 additions & 4 deletions src/v2/Exe_src/AgentLite/main_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@
#include <functional>
#include <stdio.h>
#include <math.h>


#include <stack>
#include <string>
#include <vector>
#include <map>
#include <sstream>
#include <iostream>
#include <iomanip>
using namespace std;
using std::string;
Expand All @@ -34,7 +31,6 @@ using std::vector;
using std::map;
using std::istringstream;
using std::max;
template <typename T>

// some basic parameters setting

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit deb5809

Please sign in to comment.