Skip to content

Commit

Permalink
C++ standard 20 -> 11
Browse files Browse the repository at this point in the history
  • Loading branch information
liurui39660 committed Nov 16, 2020
1 parent fa9fc83 commit 5c85631
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v1.1.2 (2020.11.16)

- Change C++ standard 20 -> 11
- \- unused `#include` in `Demo` and `Reproducible`
- Convert `const char*` to `const auto` in `Demo`

## v1.1.1 (2020.09.29)

- \- unused `#include <algorithm>` in `RelationalCore` and `FilteringCore`
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.15)
SET(CMAKE_TOOLCHAIN_FILE $ENV{VCPKG_CMAKE}) # Put before PROJECT()
PROJECT(MIDAS)

SET(CMAKE_CXX_STANDARD 20)
SET(CMAKE_CXX_STANDARD 11)

INCLUDE_DIRECTORIES(
src
Expand Down Expand Up @@ -47,4 +47,4 @@ ADD_COMPILE_DEFINITIONS(

ADD_EXECUTABLE(Demo example/Demo.cpp)
ADD_EXECUTABLE(Experiment example/Experiment.cpp)
ADD_EXECUTABLE(Reproducible example/Reproducible.cpp)
ADD_EXECUTABLE(Reproducible example/Reproducible.cpp)
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ The scores will be exported to `MIDAS/temp/Score.txt`, higher means more anomalo

All file paths are absolute and "hardcoded" by CMake, but it's suggested NOT to run by double clicking on the executable file.

### Requirements

Core
- C++11
- C++ standard libraries

Demo
- Python 3 (`MIDAS/util/EvaluateScore.py`)
- `pandas`: I/O
- `scikit-learn`: Compute ROC-AUC

Other python utility scripts
- Python 3
- `pandas`
- `scikit-learn`

## Customization

### Switch Cores
Expand Down

0 comments on commit 5c85631

Please sign in to comment.