File tree 15 files changed +46
-34
lines changed
15 files changed +46
-34
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.2)
2
2
3
- project (algorithm-visualizer VERSION 2.3.3 )
3
+ project (algorithm-visualizer VERSION 2.3.4 )
4
4
5
5
set (CMAKE_CXX_STANDARD 11)
6
6
@@ -9,4 +9,7 @@ install(DIRECTORY include/
9
9
DESTINATION include /${PROJECT_NAME}
10
10
FILES_MATCHING PATTERN "*.h*" )
11
11
12
+ install (FILES algorithm-visualizer.h
13
+ DESTINATION include )
14
+
12
15
add_subdirectory (test )
Original file line number Diff line number Diff line change
1
+ #ifndef ALGORITHM_VISUALIZER_H
2
+ #define ALGORITHM_VISUALIZER_H
3
+
4
+ #include "algorithm-visualizer/Commander.h"
5
+ #include "algorithm-visualizer/Tracer.h"
6
+ #include "algorithm-visualizer/Layout.h"
7
+ #include "algorithm-visualizer/Randomize.h"
8
+
9
+ #include "algorithm-visualizer/Array1DTracer.h"
10
+ #include "algorithm-visualizer/Array2DTracer.h"
11
+ #include "algorithm-visualizer/ChartTracer.h"
12
+ #include "algorithm-visualizer/GraphTracer.h"
13
+ #include "algorithm-visualizer/HorizontalLayout.h"
14
+ #include "algorithm-visualizer/LogTracer.h"
15
+ #include "algorithm-visualizer/VerticalLayout.h"
16
+
17
+ #endif
Original file line number Diff line number Diff line change 1
- #ifndef CPP_ARRAY1DTRACER_H
2
- #define CPP_ARRAY1DTRACER_H
1
+ #ifndef ARRAY1DTRACER_H
2
+ #define ARRAY1DTRACER_H
3
3
4
4
#include " BaseArray1DTracer.h"
5
5
#include " ChartTracer.h"
Original file line number Diff line number Diff line change 1
- #ifndef CPP_ARRAY2DTRACER_H
2
- #define CPP_ARRAY2DTRACER_H
1
+ #ifndef ARRAY2DTRACER_H
2
+ #define ARRAY2DTRACER_H
3
3
4
4
#include " Tracer.h"
5
5
Original file line number Diff line number Diff line change 1
- #ifndef CPP_BASEARRAY1DTRACER_H
2
- #define CPP_BASEARRAY1DTRACER_H
1
+ #ifndef BASEARRAY1DTRACER_H
2
+ #define BASEARRAY1DTRACER_H
3
3
4
4
#include " Array2DTracer.h"
5
5
Original file line number Diff line number Diff line change 1
- #ifndef CPP_CHARTTRACER_H
2
- #define CPP_CHARTTRACER_H
1
+ #ifndef CHARTTRACER_H
2
+ #define CHARTTRACER_H
3
3
4
4
#include " Array1DTracer.h"
5
5
Original file line number Diff line number Diff line change 1
- #ifndef CPP_COMMANDER_H
2
- #define CPP_COMMANDER_H
1
+ #ifndef COMMANDER_H
2
+ #define COMMANDER_H
3
3
4
4
#include < string>
5
5
#include < cstdlib>
Original file line number Diff line number Diff line change 1
- #ifndef CPP_GRAPHTRACER_H
2
- #define CPP_GRAPHTRACER_H
1
+ #ifndef GRAPHTRACER_H
2
+ #define GRAPHTRACER_H
3
3
4
4
#include " Tracer.h"
5
5
#include " LogTracer.h"
Original file line number Diff line number Diff line change 1
- #ifndef CPP_HORIZONTALLAYOUT_H
2
- #define CPP_HORIZONTALLAYOUT_H
1
+ #ifndef HORIZONTALLAYOUT_H
2
+ #define HORIZONTALLAYOUT_H
3
3
4
4
#include " Layout.h"
5
5
Original file line number Diff line number Diff line change 1
- #ifndef CPP_LAYOUT_H
2
- #define CPP_LAYOUT_H
1
+ #ifndef LAYOUT_H
2
+ #define LAYOUT_H
3
3
4
4
#include " Commander.h"
5
5
Original file line number Diff line number Diff line change 1
- #ifndef CPP_LOGTRACER_H
2
- #define CPP_LOGTRACER_H
1
+ #ifndef LOGTRACER_H
2
+ #define LOGTRACER_H
3
3
4
4
#include < stdarg.h>
5
5
#include " Tracer.h"
Original file line number Diff line number Diff line change 1
- #ifndef CPP_RANDOMIZE_H
2
- #define CPP_RANDOMIZE_H
1
+ #ifndef RANDOMIZE_H
2
+ #define RANDOMIZE_H
3
3
4
4
#include < random>
5
5
#include < algorithm>
Original file line number Diff line number Diff line change 1
- #ifndef CPP_TRACER_H
2
- #define CPP_TRACER_H
1
+ #ifndef TRACER_H
2
+ #define TRACER_H
3
3
4
4
#include " Commander.h"
5
5
Original file line number Diff line number Diff line change 1
- #ifndef CPP_VERTICALLAYOUT_H
2
- #define CPP_VERTICALLAYOUT_H
1
+ #ifndef VERTICALLAYOUT_H
2
+ #define VERTICALLAYOUT_H
3
3
4
4
#include " Layout.h"
5
5
Original file line number Diff line number Diff line change 1
1
#include < string>
2
2
#include < iostream>
3
- #include < VerticalLayout.h>
4
- #include < HorizontalLayout.h>
5
- #include " Array1DTracer.h"
6
- #include " Array2DTracer.h"
7
- #include " ChartTracer.h"
8
- #include " Tracer.h"
9
- #include " LogTracer.h"
10
- #include " GraphTracer.h"
11
- #include " Randomize.h"
3
+ #include " algorithm-visualizer.h"
12
4
13
5
#define N 5
14
6
You can’t perform that action at this time.
0 commit comments