├── .gitignore
├── CMakeLists.txt
├── GeneticAlgorithmByC++.sublime-project
├── GeneticAlgorithmByC++.sublime-workspace
├── README.md
├── build
├── CMakeCache.txt
├── CMakeFiles
│ ├── 3.12.1
│ │ ├── CMakeCCompiler.cmake
│ │ ├── CMakeCXXCompiler.cmake
│ │ ├── CMakeDetermineCompilerABI_C.bin
│ │ ├── CMakeDetermineCompilerABI_CXX.bin
│ │ ├── CMakeSystem.cmake
│ │ ├── CompilerIdC
│ │ │ └── CMakeCCompilerId.c
│ │ └── CompilerIdCXX
│ │ │ └── CMakeCXXCompilerId.cpp
│ ├── CMakeDirectoryInformation.cmake
│ ├── CMakeError.log
│ ├── CMakeOutput.log
│ ├── Makefile.cmake
│ ├── Makefile2
│ ├── TargetDirectories.txt
│ ├── cmake.check_cache
│ ├── feature_tests.bin
│ ├── feature_tests.c
│ ├── feature_tests.cxx
│ └── progress.marks
├── Makefile
├── cmake_install.cmake
└── src
│ ├── CMakeFiles
│ ├── CMakeDirectoryInformation.cmake
│ ├── GA.dir
│ │ ├── CXX.includecache
│ │ ├── DependInfo.cmake
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── depend.internal
│ │ ├── depend.make
│ │ ├── flags.make
│ │ ├── link.txt
│ │ └── progress.make
│ └── progress.marks
│ ├── GA
│ ├── GAlib
│ ├── CMakeFiles
│ │ ├── CMakeDirectoryInformation.cmake
│ │ ├── GAlib.dir
│ │ │ ├── CXX.includecache
│ │ │ ├── DependInfo.cmake
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── cmake_clean_target.cmake
│ │ │ ├── depend.internal
│ │ │ ├── depend.make
│ │ │ ├── flags.make
│ │ │ ├── link.txt
│ │ │ └── progress.make
│ │ └── progress.marks
│ ├── Makefile
│ └── cmake_install.cmake
│ ├── Makefile
│ ├── cmake_install.cmake
│ └── cvplotlib
│ ├── CMakeFiles
│ ├── CMakeDirectoryInformation.cmake
│ ├── cvplotlib.dir
│ │ ├── CXX.includecache
│ │ ├── DependInfo.cmake
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── cmake_clean_target.cmake
│ │ ├── depend.internal
│ │ ├── depend.make
│ │ ├── flags.make
│ │ ├── link.txt
│ │ └── progress.make
│ └── progress.marks
│ ├── Makefile
│ └── cmake_install.cmake
├── demo_picture
├── demo1_1.png
├── demo1_2.png
├── demo1_3.png
├── demo2_1.png
├── demo2_2.png
├── demo3_1.png
├── demo4_1.png
├── demo5_1.png
├── demo6_1.png
└── think.png
├── includes
├── GA.h
├── color.h
├── cvplot.h
├── demo.h
├── figure.h
├── highgui.h
├── internal.h
└── window.h
└── src
├── CMakeLists.txt
├── GAlib
├── CMakeLists.txt
├── GA.cpp
├── GA_BP.cpp
├── GA_TSP.cpp
├── PSO.cpp
└── QGA.cpp
├── cvplotlib
├── CMakeLists.txt
├── color.cc
├── figure.cc
├── highgui.cc
├── internal.h
└── window.cc
├── demo.cpp
└── main.cpp
/.gitignore:
--------------------------------------------------------------------------------
1 | # Prerequisites
2 | *.d
3 |
4 | # Compiled Object files
5 | *.slo
6 | *.lo
7 | *.o
8 | *.obj
9 |
10 | # Precompiled Headers
11 | *.gch
12 | *.pch
13 |
14 | # Compiled Dynamic libraries
15 | *.so
16 | *.dylib
17 | *.dll
18 |
19 | # Fortran module files
20 | *.mod
21 | *.smod
22 |
23 | # Compiled Static libraries
24 | *.lai
25 | *.la
26 | *.a
27 | *.lib
28 |
29 | # Executables
30 | *.exe
31 | *.out
32 | *.app
33 |
--------------------------------------------------------------------------------
/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
2 | project(GeneticAlgorithmByC++ VERSION 0.1.0 LANGUAGES C CXX)
3 |
4 | set(CMAKE_CXX_STANDARD 11)
5 |
6 | INCLUDE_DIRECTORIES(includes)
7 |
8 |
9 | add_subdirectory(src)
10 |
11 | SET(CMAKE_BUILD_TYPE "Debug")
12 | SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -Wall -ggdb")
13 | SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -Wall")
--------------------------------------------------------------------------------
/GeneticAlgorithmByC++.sublime-project:
--------------------------------------------------------------------------------
1 | {
2 | "build_systems":
3 | [
4 | {
5 | "file_regex": "(.+[^:]):(\\d+):(\\d+): (?:fatal )?((?:error|warning): .+)$",
6 | "name": "GeneticAlgorithmByC++ (Linux)",
7 | "shell_cmd": "make -j4",
8 | "syntax": "Packages/CMakeBuilder/Syntax/Make.sublime-syntax",
9 | "variants":
10 | [
11 | {
12 | "name": "clean",
13 | "shell_cmd": "make -j4 clean"
14 | },
15 | {
16 | "name": "rebuild_cache",
17 | "shell_cmd": "make -j4 rebuild_cache"
18 | },
19 | {
20 | "name": "GA",
21 | "shell_cmd": "make -j4 GA"
22 | },
23 | {
24 | "name": "cvplotlib",
25 | "shell_cmd": "make -j4 cvplotlib"
26 | },
27 | {
28 | "name": "GAlib",
29 | "shell_cmd": "make -j4 GAlib"
30 | }
31 | ],
32 | "working_dir": "${project_path}/build"
33 | }
34 | ],
35 | "folders":
36 | [
37 | {
38 | "path": "."
39 | }
40 | ],
41 | "settings":
42 | {
43 | "cmake":
44 | {
45 | "build_folder": "${project_path}/build"
46 | }
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # GeneticAlgorithm
2 | 这是用C++写的遗传算法,参考《智能算法 30案例分析 第2版》一书,包含TSP、LQR控制器、结合量子算法、多目标优化、粒子群等,由于原作为matlab程序,综合自己思路通过C++写出来,算是练习和开个大坑
3 |
4 |
5 |
6 | - 通过opencv绘制函数曲线图和坐标图
7 | - 一元最优化目标
8 | - 多元函数优化目标
9 | - 基于遗传算法的BP神经网络(施工中)
10 | - 基于遗传算法的TSP问题
11 | - 基于量子遗传算法
12 | - 粒子群算法
13 |
14 | ## How to use
15 | ```
16 | git clone https://github.com/ShiSanChuan/GeneticAlgorithm.git
17 | cd GeneticAlgorithm/
18 | cmake .
19 | make -j4
20 | cd src/
21 | ./GA
22 | ```
23 |
24 | ## Recode
25 | ### 一元函数优化
26 | - 通过遗传算法求`x^2*sin(3x*pi)`的最大值,增大初始种群数目可加快迭代,增加种群基因编码长度增大迭代稳定性,变异和交叉较小为好;
27 | - 对于遗传算法中的赌盘轮巡法,最常见直接计算所有个体函数的累加值作为随机值的最大值,但因为数据中可能有负数,所以将所有数据减去这个最小值,但这样结果会使中间的数据频繁出现,无法很好的表现最优值;
28 | ```cpp
29 | float fun1(std::vector argv){
30 | float x=argv[0];
31 | return (x*x*std::sin(3*pi*x));
32 | }
33 | ...
34 | ga.solve(fun1,1);
35 | ```
36 |
37 |
38 |
39 |
40 | - 若再将fun(x)后处理的数据再次进行exp(x),可以去除有负数累加的问题,但若目标函数的最优值与次最优值很近,或者fun(x)的数据本身集中在[-inf,1],也无法很好的区分最优值;
41 |
42 |
43 |
44 | - 若将fun(x)后的数据进行排序,在将排序的大小换为整数1,...,n,在通过指数exp或者平方处理,可以很好区分最优值。
45 |
46 |
47 |
48 | - 因为种群编码长度受计算机影响(64位),因此搜索区间太大会使精度下降,因此进行一次遗传算法寻求全局最优后再次缩小范围求获得的精度更高。
49 |
50 | ### 二元函数优化
51 | - 与一元函数优化基本类似,不过在rank中需要在二元中需找对应最大解,求解`xcos(2pi*y)+ysin(2pi*x)`,该函数的matlab绘制的图像在第二张图片。
52 | ```cpp
53 | float fun2(std::vector argv){
54 | float x=argv[0];//参数可变,当前使用两个变量
55 | float y=argv[1];
56 | return (x*std::cos(2*pi*y)+y*std::sin(2*pi*x));
57 | }
58 | ...
59 | ga.solve(fun2,2);
60 | ```
61 |
62 |
63 |
64 |
65 | ### 基于BP的遗传算法
66 | BP的正则化在opencv中有点难弄。。所以结果误差MSE在4左右,BP中的sigmod函数的确非常重要。。。
67 | ```cpp
68 | float _input[2][3]={{1,2,3},{4,5,6}};
69 | float _output[2][2]={{1.,2.},{3.,4.}};
70 | ...
71 | GA_BP ga(10,440);
72 | ga.BPsolve(input, output);
73 | ```
74 |
75 |
76 |
77 | ### 基于遗传算法的TSP
78 | - TSP作为典型的NP问题,目前没有一个多项式的解法,虽然参照书上matlab遗传算法求解TSP问题,但书中交叉、变异的概念有点没弄懂,用C++实现后,~~并没有出现预期想象中那么好的结果,或许这些NP问题用遗传算法来解有点看脸吧(:《 ),最好的结果也没有达到书中的0.03,实际距离29.3405(也就是包裹点的最大多边形)。~~,原来在代码中的初始数据的定义有问题,以前是`float _address[14][3]`,这样初始化就有问题,会求取空间的TSP,而且第三个参数是随机的,这个错误太大意了,修改后效果好很多,近乎最优解,速度比MATLAB快。
79 |
80 | ```cpp
81 | float _address[14][2]={{16.47,96.10},{16.47,94.44},
82 | {22.39,93.37},{25.23,97.24},
83 | {20.47,97.02},{17.20,96.29},
84 | {14.05,98.12},{22.00,96.05},
85 | {16.53,97.38},{21.52,95.59},
86 | {19.41,97.13},{20.09,92.55}};
87 | ...
88 | cv::Mat address(cv::Size(2,12),CV_32FC1,_address);
89 | GA_TSP ga(40,address.rows);
90 | ga.TSPsolve(address);
91 | ```
92 |
93 |
94 | ### 基于量子遗传算法
95 | - 量子遗传算法(QGA)是一种概率型算法,抛弃普通遗传算法的基因交叉和变异操作,通过使用量子门旋转来调整基因,基本理解是每个基因代表一个角度值,角度值在-pi~pi之间变动,sin()^2处理后,通过每次的概率来获得该基因是0还是1,然后通过调整角度值使得新的个体。(程序中没有按照书中所说的方法调整,因为在书中程序的matlab增加空间存储变量,在该程序中的基因对比时还是rand,所以不稳定)
96 | ```
97 | * select 通过量子门旋转更新群体 更新方法: P82
98 | *x best f(x)>f(best) alpha ab>0 ab<0 a=0 b=0
99 | *0 0 false 0 0 0 0 0
100 | *0 0 true 0 0 0 0 0
101 | *0 1 false 0.01pi 1 -1 0 +-1
102 | *0 1 true 0.01pi -1 1 +-1 0
103 | *1 0 false 0.01pi -1 1 +-1 0
104 | *1 0 true 0.01pi 1 -1 0 +-1
105 | *1 1 false 0 0 0 0 0
106 | *1 1 true 0 0 0 0 0
107 | ```
108 |
109 | ```cpp
110 | float fun2(std::vector argv){
111 | float x=argv[0];
112 | float y=argv[1];
113 | return (x*std::cos(2*pi*y)+y*std::sin(2*pi*x));
114 | }
115 | ...
116 | QGA ga(80,80);
117 | ga.solve(fun2,2);
118 | Popula=ga.crtbp();
119 | ...
120 | ga.bs2rv(Popula,-2,2);
121 | ga.ranking();
122 | ga.select(Popula);
123 | ```
124 |
125 |
126 |
127 | ### 粒子群算法
128 | - 粒子群算法是一种群体搜索算法,每个粒子代表一个解,同时对应一个适应度,粒子向着全局和自身最优的地方前进,前进的速度由该粒子与当前最佳与历史最佳的粒子相对位置决定,因此能在可解空间中快速搜索。
129 | ```cpp
130 | float fun3(std::vector argv){
131 | float x=argv[0];
132 | float y=argv[1];
133 | return (x*std::cos(2*pi*y)+y*std::sin(2*pi*x));
134 | }
135 | ...
136 | PSO pso(50,2,-2,2);
137 | pso.solve(fun3);
138 | pso.crtbp();
139 | ...
140 | pso.ranking();
141 | pso.update(1);
142 | ```
143 |
144 |
145 |
146 |
147 | ## some Problem
148 | - 在每次选择最优种群个体时,保护当前最优个体加上赌盘选择法可以加快迭代优化,并且增加稳定。
149 | - C++中构造函数中不能再使用其它重载的构造函数,会失效。
150 | - cv::Mat 的结构体,使用at时,返回的是一个template的量,因此在使用逻辑表达式的时候最好先强制转换一下。
151 | - 使用cstdarg,C++可变参数函数:(不过不如传入数组,因为cstdarg声明的函数指针不能使用lamdaba传入,一大遗憾。。)
152 |
153 | ```cpp
154 | #include
155 | void testarg(count,...){
156 | va_list ap;
157 | va_start(ap, count);
158 | for(int i=0;i
24 |
25 | int main(int argc, char** argv)
26 | {
27 | (void)argv;
28 | #ifndef pthread_create
29 | return ((int*)(&pthread_create))[argc];
30 | #else
31 | (void)argc;
32 | return 0;
33 | #endif
34 | }
35 |
36 | Determining if the function pthread_create exists in the pthreads failed with the following output:
37 | Change Dir: /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles/CMakeTmp
38 |
39 | Run Build Command:"/usr/bin/make" "cmTC_c1fce/fast"
40 | /usr/bin/make -f CMakeFiles/cmTC_c1fce.dir/build.make CMakeFiles/cmTC_c1fce.dir/build
41 | make[1]: Entering directory '/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles/CMakeTmp'
42 | Building C object CMakeFiles/cmTC_c1fce.dir/CheckFunctionExists.c.o
43 | /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_c1fce.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.12/Modules/CheckFunctionExists.c
44 | Linking C executable cmTC_c1fce
45 | /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c1fce.dir/link.txt --verbose=1
46 | /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_c1fce.dir/CheckFunctionExists.c.o -o cmTC_c1fce -lpthreads
47 | /usr/bin/ld: 找不到 -lpthreads
48 | collect2: error: ld returned 1 exit status
49 | CMakeFiles/cmTC_c1fce.dir/build.make:86: recipe for target 'cmTC_c1fce' failed
50 | make[1]: *** [cmTC_c1fce] Error 1
51 | make[1]: Leaving directory '/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles/CMakeTmp'
52 | Makefile:121: recipe for target 'cmTC_c1fce/fast' failed
53 | make: *** [cmTC_c1fce/fast] Error 2
54 |
55 |
56 |
--------------------------------------------------------------------------------
/build/CMakeFiles/Makefile.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # The generator used is:
5 | set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
6 |
7 | # The top level Makefile was generated from the following files:
8 | set(CMAKE_MAKEFILE_DEPENDS
9 | "CMakeCache.txt"
10 | "../CMakeLists.txt"
11 | "CMakeFiles/3.12.1/CMakeCCompiler.cmake"
12 | "CMakeFiles/3.12.1/CMakeCXXCompiler.cmake"
13 | "CMakeFiles/3.12.1/CMakeSystem.cmake"
14 | "../src/CMakeLists.txt"
15 | "../src/GAlib/CMakeLists.txt"
16 | "../src/cvplotlib/CMakeLists.txt"
17 | "/usr/local/share/cmake-3.12/Modules/CMakeCInformation.cmake"
18 | "/usr/local/share/cmake-3.12/Modules/CMakeCXXInformation.cmake"
19 | "/usr/local/share/cmake-3.12/Modules/CMakeCommonLanguageInclude.cmake"
20 | "/usr/local/share/cmake-3.12/Modules/CMakeGenericSystem.cmake"
21 | "/usr/local/share/cmake-3.12/Modules/CMakeInitializeConfigs.cmake"
22 | "/usr/local/share/cmake-3.12/Modules/CMakeLanguageInformation.cmake"
23 | "/usr/local/share/cmake-3.12/Modules/CMakeSystemSpecificInformation.cmake"
24 | "/usr/local/share/cmake-3.12/Modules/CMakeSystemSpecificInitialize.cmake"
25 | "/usr/local/share/cmake-3.12/Modules/CheckIncludeFile.cmake"
26 | "/usr/local/share/cmake-3.12/Modules/CheckLibraryExists.cmake"
27 | "/usr/local/share/cmake-3.12/Modules/CheckSymbolExists.cmake"
28 | "/usr/local/share/cmake-3.12/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
29 | "/usr/local/share/cmake-3.12/Modules/Compiler/GNU-C.cmake"
30 | "/usr/local/share/cmake-3.12/Modules/Compiler/GNU-CXX.cmake"
31 | "/usr/local/share/cmake-3.12/Modules/Compiler/GNU.cmake"
32 | "/usr/local/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake"
33 | "/usr/local/share/cmake-3.12/Modules/FindPackageMessage.cmake"
34 | "/usr/local/share/cmake-3.12/Modules/FindThreads.cmake"
35 | "/usr/local/share/cmake-3.12/Modules/Platform/Linux-GNU-C.cmake"
36 | "/usr/local/share/cmake-3.12/Modules/Platform/Linux-GNU-CXX.cmake"
37 | "/usr/local/share/cmake-3.12/Modules/Platform/Linux-GNU.cmake"
38 | "/usr/local/share/cmake-3.12/Modules/Platform/Linux.cmake"
39 | "/usr/local/share/cmake-3.12/Modules/Platform/UnixPaths.cmake"
40 | "/usr/share/OpenCV/OpenCVConfig-version.cmake"
41 | "/usr/share/OpenCV/OpenCVConfig.cmake"
42 | "/usr/share/OpenCV/OpenCVModules-release.cmake"
43 | "/usr/share/OpenCV/OpenCVModules.cmake"
44 | )
45 |
46 | # The corresponding makefile is:
47 | set(CMAKE_MAKEFILE_OUTPUTS
48 | "Makefile"
49 | "CMakeFiles/cmake.check_cache"
50 | )
51 |
52 | # Byproducts of CMake generate step:
53 | set(CMAKE_MAKEFILE_PRODUCTS
54 | "CMakeFiles/CMakeDirectoryInformation.cmake"
55 | "src/CMakeFiles/CMakeDirectoryInformation.cmake"
56 | "src/cvplotlib/CMakeFiles/CMakeDirectoryInformation.cmake"
57 | "src/GAlib/CMakeFiles/CMakeDirectoryInformation.cmake"
58 | )
59 |
60 | # Dependency information for all targets:
61 | set(CMAKE_DEPEND_INFO_FILES
62 | "src/CMakeFiles/GA.dir/DependInfo.cmake"
63 | "src/cvplotlib/CMakeFiles/cvplotlib.dir/DependInfo.cmake"
64 | "src/GAlib/CMakeFiles/GAlib.dir/DependInfo.cmake"
65 | )
66 |
--------------------------------------------------------------------------------
/build/CMakeFiles/Makefile2:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | # The main recursive all target
10 | all:
11 |
12 | .PHONY : all
13 |
14 | # The main recursive preinstall target
15 | preinstall:
16 |
17 | .PHONY : preinstall
18 |
19 | # The main recursive clean target
20 | clean:
21 |
22 | .PHONY : clean
23 |
24 | #=============================================================================
25 | # Special targets provided by cmake.
26 |
27 | # Disable implicit rules so canonical targets will work.
28 | .SUFFIXES:
29 |
30 |
31 | # Remove some rules from gmake that .SUFFIXES does not remove.
32 | SUFFIXES =
33 |
34 | .SUFFIXES: .hpux_make_needs_suffix_list
35 |
36 |
37 | # Suppress display of executed commands.
38 | $(VERBOSE).SILENT:
39 |
40 |
41 | # A target that is always out of date.
42 | cmake_force:
43 |
44 | .PHONY : cmake_force
45 |
46 | #=============================================================================
47 | # Set environment variables for the build.
48 |
49 | # The shell in which to execute make rules.
50 | SHELL = /bin/sh
51 |
52 | # The CMake executable.
53 | CMAKE_COMMAND = /usr/local/bin/cmake
54 |
55 | # The command to remove a file.
56 | RM = /usr/local/bin/cmake -E remove -f
57 |
58 | # Escaping for special characters.
59 | EQUALS = =
60 |
61 | # The top-level source directory on which CMake was run.
62 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
63 |
64 | # The top-level build directory on which CMake was run.
65 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
66 |
67 | #=============================================================================
68 | # Directory level rules for directory src
69 |
70 | # Convenience name for "all" pass in the directory.
71 | src/all: src/CMakeFiles/GA.dir/all
72 | src/all: src/cvplotlib/all
73 | src/all: src/GAlib/all
74 |
75 | .PHONY : src/all
76 |
77 | # Convenience name for "clean" pass in the directory.
78 | src/clean: src/CMakeFiles/GA.dir/clean
79 | src/clean: src/cvplotlib/clean
80 | src/clean: src/GAlib/clean
81 |
82 | .PHONY : src/clean
83 |
84 | # Convenience name for "preinstall" pass in the directory.
85 | src/preinstall: src/cvplotlib/preinstall
86 | src/preinstall: src/GAlib/preinstall
87 |
88 | .PHONY : src/preinstall
89 |
90 | #=============================================================================
91 | # Target rules for target src/CMakeFiles/GA.dir
92 |
93 | # All Build rule for target.
94 | src/CMakeFiles/GA.dir/all: src/cvplotlib/CMakeFiles/cvplotlib.dir/all
95 | src/CMakeFiles/GA.dir/all: src/GAlib/CMakeFiles/GAlib.dir/all
96 | $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/depend
97 | $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/build
98 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=1,2,3 "Built target GA"
99 | .PHONY : src/CMakeFiles/GA.dir/all
100 |
101 | # Include target in all.
102 | all: src/CMakeFiles/GA.dir/all
103 |
104 | .PHONY : all
105 |
106 | # Build rule for subdir invocation for target.
107 | src/CMakeFiles/GA.dir/rule: cmake_check_build_system
108 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 14
109 | $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/GA.dir/all
110 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 0
111 | .PHONY : src/CMakeFiles/GA.dir/rule
112 |
113 | # Convenience name for target.
114 | GA: src/CMakeFiles/GA.dir/rule
115 |
116 | .PHONY : GA
117 |
118 | # clean rule for target.
119 | src/CMakeFiles/GA.dir/clean:
120 | $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/clean
121 | .PHONY : src/CMakeFiles/GA.dir/clean
122 |
123 | # clean rule for target.
124 | clean: src/CMakeFiles/GA.dir/clean
125 |
126 | .PHONY : clean
127 |
128 | #=============================================================================
129 | # Directory level rules for directory src/cvplotlib
130 |
131 | # Convenience name for "all" pass in the directory.
132 | src/cvplotlib/all: src/cvplotlib/CMakeFiles/cvplotlib.dir/all
133 |
134 | .PHONY : src/cvplotlib/all
135 |
136 | # Convenience name for "clean" pass in the directory.
137 | src/cvplotlib/clean: src/cvplotlib/CMakeFiles/cvplotlib.dir/clean
138 |
139 | .PHONY : src/cvplotlib/clean
140 |
141 | # Convenience name for "preinstall" pass in the directory.
142 | src/cvplotlib/preinstall:
143 |
144 | .PHONY : src/cvplotlib/preinstall
145 |
146 | #=============================================================================
147 | # Target rules for target src/cvplotlib/CMakeFiles/cvplotlib.dir
148 |
149 | # All Build rule for target.
150 | src/cvplotlib/CMakeFiles/cvplotlib.dir/all:
151 | $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/depend
152 | $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/build
153 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=10,11,12,13,14 "Built target cvplotlib"
154 | .PHONY : src/cvplotlib/CMakeFiles/cvplotlib.dir/all
155 |
156 | # Include target in all.
157 | all: src/cvplotlib/CMakeFiles/cvplotlib.dir/all
158 |
159 | .PHONY : all
160 |
161 | # Build rule for subdir invocation for target.
162 | src/cvplotlib/CMakeFiles/cvplotlib.dir/rule: cmake_check_build_system
163 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 5
164 | $(MAKE) -f CMakeFiles/Makefile2 src/cvplotlib/CMakeFiles/cvplotlib.dir/all
165 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 0
166 | .PHONY : src/cvplotlib/CMakeFiles/cvplotlib.dir/rule
167 |
168 | # Convenience name for target.
169 | cvplotlib: src/cvplotlib/CMakeFiles/cvplotlib.dir/rule
170 |
171 | .PHONY : cvplotlib
172 |
173 | # clean rule for target.
174 | src/cvplotlib/CMakeFiles/cvplotlib.dir/clean:
175 | $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/clean
176 | .PHONY : src/cvplotlib/CMakeFiles/cvplotlib.dir/clean
177 |
178 | # clean rule for target.
179 | clean: src/cvplotlib/CMakeFiles/cvplotlib.dir/clean
180 |
181 | .PHONY : clean
182 |
183 | #=============================================================================
184 | # Directory level rules for directory src/GAlib
185 |
186 | # Convenience name for "all" pass in the directory.
187 | src/GAlib/all: src/GAlib/CMakeFiles/GAlib.dir/all
188 |
189 | .PHONY : src/GAlib/all
190 |
191 | # Convenience name for "clean" pass in the directory.
192 | src/GAlib/clean: src/GAlib/CMakeFiles/GAlib.dir/clean
193 |
194 | .PHONY : src/GAlib/clean
195 |
196 | # Convenience name for "preinstall" pass in the directory.
197 | src/GAlib/preinstall:
198 |
199 | .PHONY : src/GAlib/preinstall
200 |
201 | #=============================================================================
202 | # Target rules for target src/GAlib/CMakeFiles/GAlib.dir
203 |
204 | # All Build rule for target.
205 | src/GAlib/CMakeFiles/GAlib.dir/all:
206 | $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/depend
207 | $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/build
208 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=4,5,6,7,8,9 "Built target GAlib"
209 | .PHONY : src/GAlib/CMakeFiles/GAlib.dir/all
210 |
211 | # Include target in all.
212 | all: src/GAlib/CMakeFiles/GAlib.dir/all
213 |
214 | .PHONY : all
215 |
216 | # Build rule for subdir invocation for target.
217 | src/GAlib/CMakeFiles/GAlib.dir/rule: cmake_check_build_system
218 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 6
219 | $(MAKE) -f CMakeFiles/Makefile2 src/GAlib/CMakeFiles/GAlib.dir/all
220 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 0
221 | .PHONY : src/GAlib/CMakeFiles/GAlib.dir/rule
222 |
223 | # Convenience name for target.
224 | GAlib: src/GAlib/CMakeFiles/GAlib.dir/rule
225 |
226 | .PHONY : GAlib
227 |
228 | # clean rule for target.
229 | src/GAlib/CMakeFiles/GAlib.dir/clean:
230 | $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/clean
231 | .PHONY : src/GAlib/CMakeFiles/GAlib.dir/clean
232 |
233 | # clean rule for target.
234 | clean: src/GAlib/CMakeFiles/GAlib.dir/clean
235 |
236 | .PHONY : clean
237 |
238 | #=============================================================================
239 | # Special targets to cleanup operation of make.
240 |
241 | # Special rule to run CMake to check the build system integrity.
242 | # No rule that depends on this can have commands that come from listfiles
243 | # because they might be regenerated.
244 | cmake_check_build_system:
245 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
246 | .PHONY : cmake_check_build_system
247 |
248 |
--------------------------------------------------------------------------------
/build/CMakeFiles/TargetDirectories.txt:
--------------------------------------------------------------------------------
1 | /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles/rebuild_cache.dir
2 | /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles/edit_cache.dir
3 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/CMakeFiles/rebuild_cache.dir
4 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/CMakeFiles/edit_cache.dir
5 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/CMakeFiles/GA.dir
6 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/rebuild_cache.dir
7 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/edit_cache.dir
8 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/cvplotlib.dir
9 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/rebuild_cache.dir
10 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/edit_cache.dir
11 | /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir
12 |
--------------------------------------------------------------------------------
/build/CMakeFiles/cmake.check_cache:
--------------------------------------------------------------------------------
1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file
2 |
--------------------------------------------------------------------------------
/build/CMakeFiles/feature_tests.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/build/CMakeFiles/feature_tests.bin
--------------------------------------------------------------------------------
/build/CMakeFiles/feature_tests.c:
--------------------------------------------------------------------------------
1 |
2 | const char features[] = {"\n"
3 | "C_FEATURE:"
4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
5 | "1"
6 | #else
7 | "0"
8 | #endif
9 | "c_function_prototypes\n"
10 | "C_FEATURE:"
11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
12 | "1"
13 | #else
14 | "0"
15 | #endif
16 | "c_restrict\n"
17 | "C_FEATURE:"
18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
19 | "1"
20 | #else
21 | "0"
22 | #endif
23 | "c_static_assert\n"
24 | "C_FEATURE:"
25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
26 | "1"
27 | #else
28 | "0"
29 | #endif
30 | "c_variadic_macros\n"
31 |
32 | };
33 |
34 | int main(int argc, char** argv) { (void)argv; return features[argc]; }
35 |
--------------------------------------------------------------------------------
/build/CMakeFiles/feature_tests.cxx:
--------------------------------------------------------------------------------
1 |
2 | const char features[] = {"\n"
3 | "CXX_FEATURE:"
4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
5 | "1"
6 | #else
7 | "0"
8 | #endif
9 | "cxx_aggregate_default_initializers\n"
10 | "CXX_FEATURE:"
11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
12 | "1"
13 | #else
14 | "0"
15 | #endif
16 | "cxx_alias_templates\n"
17 | "CXX_FEATURE:"
18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
19 | "1"
20 | #else
21 | "0"
22 | #endif
23 | "cxx_alignas\n"
24 | "CXX_FEATURE:"
25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
26 | "1"
27 | #else
28 | "0"
29 | #endif
30 | "cxx_alignof\n"
31 | "CXX_FEATURE:"
32 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
33 | "1"
34 | #else
35 | "0"
36 | #endif
37 | "cxx_attributes\n"
38 | "CXX_FEATURE:"
39 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
40 | "1"
41 | #else
42 | "0"
43 | #endif
44 | "cxx_attribute_deprecated\n"
45 | "CXX_FEATURE:"
46 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
47 | "1"
48 | #else
49 | "0"
50 | #endif
51 | "cxx_auto_type\n"
52 | "CXX_FEATURE:"
53 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
54 | "1"
55 | #else
56 | "0"
57 | #endif
58 | "cxx_binary_literals\n"
59 | "CXX_FEATURE:"
60 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
61 | "1"
62 | #else
63 | "0"
64 | #endif
65 | "cxx_constexpr\n"
66 | "CXX_FEATURE:"
67 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
68 | "1"
69 | #else
70 | "0"
71 | #endif
72 | "cxx_contextual_conversions\n"
73 | "CXX_FEATURE:"
74 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
75 | "1"
76 | #else
77 | "0"
78 | #endif
79 | "cxx_decltype\n"
80 | "CXX_FEATURE:"
81 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
82 | "1"
83 | #else
84 | "0"
85 | #endif
86 | "cxx_decltype_auto\n"
87 | "CXX_FEATURE:"
88 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
89 | "1"
90 | #else
91 | "0"
92 | #endif
93 | "cxx_decltype_incomplete_return_types\n"
94 | "CXX_FEATURE:"
95 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
96 | "1"
97 | #else
98 | "0"
99 | #endif
100 | "cxx_default_function_template_args\n"
101 | "CXX_FEATURE:"
102 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
103 | "1"
104 | #else
105 | "0"
106 | #endif
107 | "cxx_defaulted_functions\n"
108 | "CXX_FEATURE:"
109 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
110 | "1"
111 | #else
112 | "0"
113 | #endif
114 | "cxx_defaulted_move_initializers\n"
115 | "CXX_FEATURE:"
116 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
117 | "1"
118 | #else
119 | "0"
120 | #endif
121 | "cxx_delegating_constructors\n"
122 | "CXX_FEATURE:"
123 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
124 | "1"
125 | #else
126 | "0"
127 | #endif
128 | "cxx_deleted_functions\n"
129 | "CXX_FEATURE:"
130 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
131 | "1"
132 | #else
133 | "0"
134 | #endif
135 | "cxx_digit_separators\n"
136 | "CXX_FEATURE:"
137 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
138 | "1"
139 | #else
140 | "0"
141 | #endif
142 | "cxx_enum_forward_declarations\n"
143 | "CXX_FEATURE:"
144 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
145 | "1"
146 | #else
147 | "0"
148 | #endif
149 | "cxx_explicit_conversions\n"
150 | "CXX_FEATURE:"
151 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
152 | "1"
153 | #else
154 | "0"
155 | #endif
156 | "cxx_extended_friend_declarations\n"
157 | "CXX_FEATURE:"
158 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
159 | "1"
160 | #else
161 | "0"
162 | #endif
163 | "cxx_extern_templates\n"
164 | "CXX_FEATURE:"
165 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
166 | "1"
167 | #else
168 | "0"
169 | #endif
170 | "cxx_final\n"
171 | "CXX_FEATURE:"
172 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
173 | "1"
174 | #else
175 | "0"
176 | #endif
177 | "cxx_func_identifier\n"
178 | "CXX_FEATURE:"
179 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
180 | "1"
181 | #else
182 | "0"
183 | #endif
184 | "cxx_generalized_initializers\n"
185 | "CXX_FEATURE:"
186 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
187 | "1"
188 | #else
189 | "0"
190 | #endif
191 | "cxx_generic_lambdas\n"
192 | "CXX_FEATURE:"
193 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
194 | "1"
195 | #else
196 | "0"
197 | #endif
198 | "cxx_inheriting_constructors\n"
199 | "CXX_FEATURE:"
200 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
201 | "1"
202 | #else
203 | "0"
204 | #endif
205 | "cxx_inline_namespaces\n"
206 | "CXX_FEATURE:"
207 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
208 | "1"
209 | #else
210 | "0"
211 | #endif
212 | "cxx_lambdas\n"
213 | "CXX_FEATURE:"
214 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
215 | "1"
216 | #else
217 | "0"
218 | #endif
219 | "cxx_lambda_init_captures\n"
220 | "CXX_FEATURE:"
221 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
222 | "1"
223 | #else
224 | "0"
225 | #endif
226 | "cxx_local_type_template_args\n"
227 | "CXX_FEATURE:"
228 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
229 | "1"
230 | #else
231 | "0"
232 | #endif
233 | "cxx_long_long_type\n"
234 | "CXX_FEATURE:"
235 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
236 | "1"
237 | #else
238 | "0"
239 | #endif
240 | "cxx_noexcept\n"
241 | "CXX_FEATURE:"
242 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
243 | "1"
244 | #else
245 | "0"
246 | #endif
247 | "cxx_nonstatic_member_init\n"
248 | "CXX_FEATURE:"
249 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
250 | "1"
251 | #else
252 | "0"
253 | #endif
254 | "cxx_nullptr\n"
255 | "CXX_FEATURE:"
256 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
257 | "1"
258 | #else
259 | "0"
260 | #endif
261 | "cxx_override\n"
262 | "CXX_FEATURE:"
263 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
264 | "1"
265 | #else
266 | "0"
267 | #endif
268 | "cxx_range_for\n"
269 | "CXX_FEATURE:"
270 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
271 | "1"
272 | #else
273 | "0"
274 | #endif
275 | "cxx_raw_string_literals\n"
276 | "CXX_FEATURE:"
277 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
278 | "1"
279 | #else
280 | "0"
281 | #endif
282 | "cxx_reference_qualified_functions\n"
283 | "CXX_FEATURE:"
284 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
285 | "1"
286 | #else
287 | "0"
288 | #endif
289 | "cxx_relaxed_constexpr\n"
290 | "CXX_FEATURE:"
291 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
292 | "1"
293 | #else
294 | "0"
295 | #endif
296 | "cxx_return_type_deduction\n"
297 | "CXX_FEATURE:"
298 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
299 | "1"
300 | #else
301 | "0"
302 | #endif
303 | "cxx_right_angle_brackets\n"
304 | "CXX_FEATURE:"
305 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
306 | "1"
307 | #else
308 | "0"
309 | #endif
310 | "cxx_rvalue_references\n"
311 | "CXX_FEATURE:"
312 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
313 | "1"
314 | #else
315 | "0"
316 | #endif
317 | "cxx_sizeof_member\n"
318 | "CXX_FEATURE:"
319 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
320 | "1"
321 | #else
322 | "0"
323 | #endif
324 | "cxx_static_assert\n"
325 | "CXX_FEATURE:"
326 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
327 | "1"
328 | #else
329 | "0"
330 | #endif
331 | "cxx_strong_enums\n"
332 | "CXX_FEATURE:"
333 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus
334 | "1"
335 | #else
336 | "0"
337 | #endif
338 | "cxx_template_template_parameters\n"
339 | "CXX_FEATURE:"
340 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
341 | "1"
342 | #else
343 | "0"
344 | #endif
345 | "cxx_thread_local\n"
346 | "CXX_FEATURE:"
347 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
348 | "1"
349 | #else
350 | "0"
351 | #endif
352 | "cxx_trailing_return_types\n"
353 | "CXX_FEATURE:"
354 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
355 | "1"
356 | #else
357 | "0"
358 | #endif
359 | "cxx_unicode_literals\n"
360 | "CXX_FEATURE:"
361 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
362 | "1"
363 | #else
364 | "0"
365 | #endif
366 | "cxx_uniform_initialization\n"
367 | "CXX_FEATURE:"
368 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
369 | "1"
370 | #else
371 | "0"
372 | #endif
373 | "cxx_unrestricted_unions\n"
374 | "CXX_FEATURE:"
375 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
376 | "1"
377 | #else
378 | "0"
379 | #endif
380 | "cxx_user_literals\n"
381 | "CXX_FEATURE:"
382 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
383 | "1"
384 | #else
385 | "0"
386 | #endif
387 | "cxx_variable_templates\n"
388 | "CXX_FEATURE:"
389 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
390 | "1"
391 | #else
392 | "0"
393 | #endif
394 | "cxx_variadic_macros\n"
395 | "CXX_FEATURE:"
396 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
397 | "1"
398 | #else
399 | "0"
400 | #endif
401 | "cxx_variadic_templates\n"
402 |
403 | };
404 |
405 | int main(int argc, char** argv) { (void)argv; return features[argc]; }
406 |
--------------------------------------------------------------------------------
/build/CMakeFiles/progress.marks:
--------------------------------------------------------------------------------
1 | 14
2 |
--------------------------------------------------------------------------------
/build/Makefile:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10 | .NOTPARALLEL:
11 |
12 |
13 | #=============================================================================
14 | # Special targets provided by cmake.
15 |
16 | # Disable implicit rules so canonical targets will work.
17 | .SUFFIXES:
18 |
19 |
20 | # Remove some rules from gmake that .SUFFIXES does not remove.
21 | SUFFIXES =
22 |
23 | .SUFFIXES: .hpux_make_needs_suffix_list
24 |
25 |
26 | # Suppress display of executed commands.
27 | $(VERBOSE).SILENT:
28 |
29 |
30 | # A target that is always out of date.
31 | cmake_force:
32 |
33 | .PHONY : cmake_force
34 |
35 | #=============================================================================
36 | # Set environment variables for the build.
37 |
38 | # The shell in which to execute make rules.
39 | SHELL = /bin/sh
40 |
41 | # The CMake executable.
42 | CMAKE_COMMAND = /usr/local/bin/cmake
43 |
44 | # The command to remove a file.
45 | RM = /usr/local/bin/cmake -E remove -f
46 |
47 | # Escaping for special characters.
48 | EQUALS = =
49 |
50 | # The top-level source directory on which CMake was run.
51 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
52 |
53 | # The top-level build directory on which CMake was run.
54 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
55 |
56 | #=============================================================================
57 | # Targets provided globally by CMake.
58 |
59 | # Special rule for the target rebuild_cache
60 | rebuild_cache:
61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 | /usr/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 | .PHONY : rebuild_cache
64 |
65 | # Special rule for the target rebuild_cache
66 | rebuild_cache/fast: rebuild_cache
67 |
68 | .PHONY : rebuild_cache/fast
69 |
70 | # Special rule for the target edit_cache
71 | edit_cache:
72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
73 | /usr/local/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
74 | .PHONY : edit_cache
75 |
76 | # Special rule for the target edit_cache
77 | edit_cache/fast: edit_cache
78 |
79 | .PHONY : edit_cache/fast
80 |
81 | # The main all target
82 | all: cmake_check_build_system
83 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles/progress.marks
84 | $(MAKE) -f CMakeFiles/Makefile2 all
85 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 0
86 | .PHONY : all
87 |
88 | # The main clean target
89 | clean:
90 | $(MAKE) -f CMakeFiles/Makefile2 clean
91 | .PHONY : clean
92 |
93 | # The main clean target
94 | clean/fast: clean
95 |
96 | .PHONY : clean/fast
97 |
98 | # Prepare targets for installation.
99 | preinstall: all
100 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
101 | .PHONY : preinstall
102 |
103 | # Prepare targets for installation.
104 | preinstall/fast:
105 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
106 | .PHONY : preinstall/fast
107 |
108 | # clear depends
109 | depend:
110 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 | .PHONY : depend
112 |
113 | #=============================================================================
114 | # Target rules for targets named GA
115 |
116 | # Build rule for target.
117 | GA: cmake_check_build_system
118 | $(MAKE) -f CMakeFiles/Makefile2 GA
119 | .PHONY : GA
120 |
121 | # fast build rule for target.
122 | GA/fast:
123 | $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/build
124 | .PHONY : GA/fast
125 |
126 | #=============================================================================
127 | # Target rules for targets named cvplotlib
128 |
129 | # Build rule for target.
130 | cvplotlib: cmake_check_build_system
131 | $(MAKE) -f CMakeFiles/Makefile2 cvplotlib
132 | .PHONY : cvplotlib
133 |
134 | # fast build rule for target.
135 | cvplotlib/fast:
136 | $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/build
137 | .PHONY : cvplotlib/fast
138 |
139 | #=============================================================================
140 | # Target rules for targets named GAlib
141 |
142 | # Build rule for target.
143 | GAlib: cmake_check_build_system
144 | $(MAKE) -f CMakeFiles/Makefile2 GAlib
145 | .PHONY : GAlib
146 |
147 | # fast build rule for target.
148 | GAlib/fast:
149 | $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/build
150 | .PHONY : GAlib/fast
151 |
152 | # Help Target
153 | help:
154 | @echo "The following are some of the valid targets for this Makefile:"
155 | @echo "... all (the default if no target is provided)"
156 | @echo "... clean"
157 | @echo "... depend"
158 | @echo "... rebuild_cache"
159 | @echo "... edit_cache"
160 | @echo "... GA"
161 | @echo "... cvplotlib"
162 | @echo "... GAlib"
163 | .PHONY : help
164 |
165 |
166 |
167 | #=============================================================================
168 | # Special targets to cleanup operation of make.
169 |
170 | # Special rule to run CMake to check the build system integrity.
171 | # No rule that depends on this can have commands that come from listfiles
172 | # because they might be regenerated.
173 | cmake_check_build_system:
174 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
175 | .PHONY : cmake_check_build_system
176 |
177 |
--------------------------------------------------------------------------------
/build/cmake_install.cmake:
--------------------------------------------------------------------------------
1 | # Install script for directory: /home/shisanchuan/C++work/GeneticAlgorithm
2 |
3 | # Set the install prefix
4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 | set(CMAKE_INSTALL_PREFIX "/usr/local")
6 | endif()
7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8 |
9 | # Set the install configuration name.
10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 | if(BUILD_TYPE)
12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 | else()
15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug")
16 | endif()
17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 | endif()
19 |
20 | # Set the component getting installed.
21 | if(NOT CMAKE_INSTALL_COMPONENT)
22 | if(COMPONENT)
23 | message(STATUS "Install component: \"${COMPONENT}\"")
24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 | else()
26 | set(CMAKE_INSTALL_COMPONENT)
27 | endif()
28 | endif()
29 |
30 | # Install shared libraries without execute permission?
31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
32 | set(CMAKE_INSTALL_SO_NO_EXE "1")
33 | endif()
34 |
35 | # Is this installation the result of a crosscompile?
36 | if(NOT DEFINED CMAKE_CROSSCOMPILING)
37 | set(CMAKE_CROSSCOMPILING "FALSE")
38 | endif()
39 |
40 | if(NOT CMAKE_INSTALL_LOCAL_ONLY)
41 | # Include the install script for each subdirectory.
42 | include("/home/shisanchuan/C++work/GeneticAlgorithm/build/src/cmake_install.cmake")
43 |
44 | endif()
45 |
46 | if(CMAKE_INSTALL_COMPONENT)
47 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
48 | else()
49 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
50 | endif()
51 |
52 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
53 | "${CMAKE_INSTALL_MANIFEST_FILES}")
54 | file(WRITE "/home/shisanchuan/C++work/GeneticAlgorithm/build/${CMAKE_INSTALL_MANIFEST}"
55 | "${CMAKE_INSTALL_MANIFEST_CONTENT}")
56 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/CMakeDirectoryInformation.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Relative path conversion top directories.
5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/shisanchuan/C++work/GeneticAlgorithm")
6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/shisanchuan/C++work/GeneticAlgorithm/build")
7 |
8 | # Force unix paths in dependencies.
9 | set(CMAKE_FORCE_UNIX_PATHS 1)
10 |
11 |
12 | # The C and CXX include file regular expressions for this directory.
13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
17 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/CXX.includecache:
--------------------------------------------------------------------------------
1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
2 |
3 | #IncludeRegexScan: ^.*$
4 |
5 | #IncludeRegexComplain: ^$
6 |
7 | #IncludeRegexTransform:
8 |
9 | ../includes/GA.h
10 | iostream
11 | -
12 | algorithm
13 | -
14 | vector
15 | -
16 | functional
17 | -
18 | opencv2/opencv.hpp
19 | ../includes/opencv2/opencv.hpp
20 |
21 | ../includes/color.h
22 | string
23 | -
24 |
25 | ../includes/cvplot.h
26 | color.h
27 | ../includes/color.h
28 | figure.h
29 | ../includes/figure.h
30 | highgui.h
31 | ../includes/highgui.h
32 | window.h
33 | ../includes/window.h
34 |
35 | ../includes/demo.h
36 |
37 | ../includes/figure.h
38 | color.h
39 | ../includes/color.h
40 | window.h
41 | ../includes/window.h
42 | map
43 | -
44 | string
45 | -
46 | vector
47 | -
48 |
49 | ../includes/highgui.h
50 | string
51 | -
52 | vector
53 | -
54 | window.h
55 | ../includes/window.h
56 |
57 | ../includes/window.h
58 | color.h
59 | ../includes/color.h
60 | map
61 | -
62 | string
63 | -
64 |
65 | /home/shisanchuan/C++work/GeneticAlgorithm/src/demo.cpp
66 | iostream
67 | -
68 | algorithm
69 | -
70 | vector
71 | -
72 | cstdarg
73 | -
74 | cvplot.h
75 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplot.h
76 | opencv2/opencv.hpp
77 | /home/shisanchuan/C++work/GeneticAlgorithm/src/opencv2/opencv.hpp
78 | GA.h
79 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GA.h
80 | demo.h
81 | /home/shisanchuan/C++work/GeneticAlgorithm/src/demo.h
82 |
83 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/DependInfo.cmake:
--------------------------------------------------------------------------------
1 | # The set of languages for which implicit dependencies are needed:
2 | set(CMAKE_DEPENDS_LANGUAGES
3 | "CXX"
4 | )
5 | # The set of files for implicit dependencies of each language:
6 | set(CMAKE_DEPENDS_CHECK_CXX
7 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/demo.cpp" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/CMakeFiles/GA.dir/demo.cpp.o"
8 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/main.cpp" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/CMakeFiles/GA.dir/main.cpp.o"
9 | )
10 | set(CMAKE_CXX_COMPILER_ID "GNU")
11 |
12 | # The include file search paths:
13 | set(CMAKE_CXX_TARGET_INCLUDE_PATH
14 | "../includes"
15 | "/usr/include/opencv"
16 | )
17 |
18 | # Targets to which this target links.
19 | set(CMAKE_TARGET_LINKED_INFO_FILES
20 | "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/DependInfo.cmake"
21 | "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir/DependInfo.cmake"
22 | )
23 |
24 | # Fortran module output directory.
25 | set(CMAKE_Fortran_TARGET_MODULE_DIR "")
26 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/build.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Delete rule output on recipe failure.
5 | .DELETE_ON_ERROR:
6 |
7 |
8 | #=============================================================================
9 | # Special targets provided by cmake.
10 |
11 | # Disable implicit rules so canonical targets will work.
12 | .SUFFIXES:
13 |
14 |
15 | # Remove some rules from gmake that .SUFFIXES does not remove.
16 | SUFFIXES =
17 |
18 | .SUFFIXES: .hpux_make_needs_suffix_list
19 |
20 |
21 | # Suppress display of executed commands.
22 | $(VERBOSE).SILENT:
23 |
24 |
25 | # A target that is always out of date.
26 | cmake_force:
27 |
28 | .PHONY : cmake_force
29 |
30 | #=============================================================================
31 | # Set environment variables for the build.
32 |
33 | # The shell in which to execute make rules.
34 | SHELL = /bin/sh
35 |
36 | # The CMake executable.
37 | CMAKE_COMMAND = /usr/local/bin/cmake
38 |
39 | # The command to remove a file.
40 | RM = /usr/local/bin/cmake -E remove -f
41 |
42 | # Escaping for special characters.
43 | EQUALS = =
44 |
45 | # The top-level source directory on which CMake was run.
46 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
47 |
48 | # The top-level build directory on which CMake was run.
49 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
50 |
51 | # Include any dependencies generated for this target.
52 | include src/CMakeFiles/GA.dir/depend.make
53 |
54 | # Include the progress variables for this target.
55 | include src/CMakeFiles/GA.dir/progress.make
56 |
57 | # Include the compile flags for this target's objects.
58 | include src/CMakeFiles/GA.dir/flags.make
59 |
60 | src/CMakeFiles/GA.dir/demo.cpp.o: src/CMakeFiles/GA.dir/flags.make
61 | src/CMakeFiles/GA.dir/demo.cpp.o: ../src/demo.cpp
62 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object src/CMakeFiles/GA.dir/demo.cpp.o"
63 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/GA.dir/demo.cpp.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/demo.cpp
64 |
65 | src/CMakeFiles/GA.dir/demo.cpp.i: cmake_force
66 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/GA.dir/demo.cpp.i"
67 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/demo.cpp > CMakeFiles/GA.dir/demo.cpp.i
68 |
69 | src/CMakeFiles/GA.dir/demo.cpp.s: cmake_force
70 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/GA.dir/demo.cpp.s"
71 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/demo.cpp -o CMakeFiles/GA.dir/demo.cpp.s
72 |
73 | src/CMakeFiles/GA.dir/main.cpp.o: src/CMakeFiles/GA.dir/flags.make
74 | src/CMakeFiles/GA.dir/main.cpp.o: ../src/main.cpp
75 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object src/CMakeFiles/GA.dir/main.cpp.o"
76 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/GA.dir/main.cpp.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/main.cpp
77 |
78 | src/CMakeFiles/GA.dir/main.cpp.i: cmake_force
79 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/GA.dir/main.cpp.i"
80 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/main.cpp > CMakeFiles/GA.dir/main.cpp.i
81 |
82 | src/CMakeFiles/GA.dir/main.cpp.s: cmake_force
83 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/GA.dir/main.cpp.s"
84 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/main.cpp -o CMakeFiles/GA.dir/main.cpp.s
85 |
86 | # Object files for target GA
87 | GA_OBJECTS = \
88 | "CMakeFiles/GA.dir/demo.cpp.o" \
89 | "CMakeFiles/GA.dir/main.cpp.o"
90 |
91 | # External object files for target GA
92 | GA_EXTERNAL_OBJECTS =
93 |
94 | src/GA: src/CMakeFiles/GA.dir/demo.cpp.o
95 | src/GA: src/CMakeFiles/GA.dir/main.cpp.o
96 | src/GA: src/CMakeFiles/GA.dir/build.make
97 | src/GA: /usr/lib/libopencv_dnn.so.3.3.1
98 | src/GA: /usr/lib/libopencv_ml.so.3.3.1
99 | src/GA: /usr/lib/libopencv_objdetect.so.3.3.1
100 | src/GA: /usr/lib/libopencv_shape.so.3.3.1
101 | src/GA: /usr/lib/libopencv_stitching.so.3.3.1
102 | src/GA: /usr/lib/libopencv_superres.so.3.3.1
103 | src/GA: /usr/lib/libopencv_videostab.so.3.3.1
104 | src/GA: src/cvplotlib/libcvplotlib.a
105 | src/GA: src/GAlib/libGAlib.a
106 | src/GA: /usr/lib/libopencv_calib3d.so.3.3.1
107 | src/GA: /usr/lib/libopencv_features2d.so.3.3.1
108 | src/GA: /usr/lib/libopencv_flann.so.3.3.1
109 | src/GA: /usr/lib/libopencv_highgui.so.3.3.1
110 | src/GA: /usr/lib/libopencv_photo.so.3.3.1
111 | src/GA: /usr/lib/libopencv_video.so.3.3.1
112 | src/GA: /usr/lib/libopencv_videoio.so.3.3.1
113 | src/GA: /usr/lib/libopencv_imgcodecs.so.3.3.1
114 | src/GA: /usr/lib/libopencv_imgproc.so.3.3.1
115 | src/GA: /usr/lib/libopencv_core.so.3.3.1
116 | src/GA: src/CMakeFiles/GA.dir/link.txt
117 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX executable GA"
118 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/GA.dir/link.txt --verbose=$(VERBOSE)
119 |
120 | # Rule to build all files generated by this target.
121 | src/CMakeFiles/GA.dir/build: src/GA
122 |
123 | .PHONY : src/CMakeFiles/GA.dir/build
124 |
125 | src/CMakeFiles/GA.dir/clean:
126 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src && $(CMAKE_COMMAND) -P CMakeFiles/GA.dir/cmake_clean.cmake
127 | .PHONY : src/CMakeFiles/GA.dir/clean
128 |
129 | src/CMakeFiles/GA.dir/depend:
130 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/shisanchuan/C++work/GeneticAlgorithm /home/shisanchuan/C++work/GeneticAlgorithm/src /home/shisanchuan/C++work/GeneticAlgorithm/build /home/shisanchuan/C++work/GeneticAlgorithm/build/src /home/shisanchuan/C++work/GeneticAlgorithm/build/src/CMakeFiles/GA.dir/DependInfo.cmake --color=$(COLOR)
131 | .PHONY : src/CMakeFiles/GA.dir/depend
132 |
133 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/cmake_clean.cmake:
--------------------------------------------------------------------------------
1 | file(REMOVE_RECURSE
2 | "CMakeFiles/GA.dir/demo.cpp.o"
3 | "CMakeFiles/GA.dir/main.cpp.o"
4 | "GA.pdb"
5 | "GA"
6 | )
7 |
8 | # Per-language clean rules from dependency scanning.
9 | foreach(lang CXX)
10 | include(CMakeFiles/GA.dir/cmake_clean_${lang}.cmake OPTIONAL)
11 | endforeach()
12 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/depend.internal:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | src/CMakeFiles/GA.dir/demo.cpp.o
5 | ../includes/GA.h
6 | ../includes/color.h
7 | ../includes/cvplot.h
8 | ../includes/demo.h
9 | ../includes/figure.h
10 | ../includes/highgui.h
11 | ../includes/window.h
12 | /home/shisanchuan/C++work/GeneticAlgorithm/src/demo.cpp
13 | src/CMakeFiles/GA.dir/main.cpp.o
14 | ../includes/GA.h
15 | ../includes/color.h
16 | ../includes/cvplot.h
17 | ../includes/demo.h
18 | ../includes/figure.h
19 | ../includes/highgui.h
20 | ../includes/window.h
21 | /home/shisanchuan/C++work/GeneticAlgorithm/src/main.cpp
22 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/depend.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | src/CMakeFiles/GA.dir/demo.cpp.o: ../includes/GA.h
5 | src/CMakeFiles/GA.dir/demo.cpp.o: ../includes/color.h
6 | src/CMakeFiles/GA.dir/demo.cpp.o: ../includes/cvplot.h
7 | src/CMakeFiles/GA.dir/demo.cpp.o: ../includes/demo.h
8 | src/CMakeFiles/GA.dir/demo.cpp.o: ../includes/figure.h
9 | src/CMakeFiles/GA.dir/demo.cpp.o: ../includes/highgui.h
10 | src/CMakeFiles/GA.dir/demo.cpp.o: ../includes/window.h
11 | src/CMakeFiles/GA.dir/demo.cpp.o: ../src/demo.cpp
12 |
13 | src/CMakeFiles/GA.dir/main.cpp.o: ../includes/GA.h
14 | src/CMakeFiles/GA.dir/main.cpp.o: ../includes/color.h
15 | src/CMakeFiles/GA.dir/main.cpp.o: ../includes/cvplot.h
16 | src/CMakeFiles/GA.dir/main.cpp.o: ../includes/demo.h
17 | src/CMakeFiles/GA.dir/main.cpp.o: ../includes/figure.h
18 | src/CMakeFiles/GA.dir/main.cpp.o: ../includes/highgui.h
19 | src/CMakeFiles/GA.dir/main.cpp.o: ../includes/window.h
20 | src/CMakeFiles/GA.dir/main.cpp.o: ../src/main.cpp
21 |
22 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/flags.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # compile CXX with /usr/bin/c++
5 | CXX_FLAGS = -std=gnu++11
6 |
7 | CXX_DEFINES =
8 |
9 | CXX_INCLUDES = -I/home/shisanchuan/C++work/GeneticAlgorithm/includes -isystem /usr/include/opencv
10 |
11 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/link.txt:
--------------------------------------------------------------------------------
1 | /usr/bin/c++ -rdynamic CMakeFiles/GA.dir/demo.cpp.o CMakeFiles/GA.dir/main.cpp.o -o GA /usr/lib/libopencv_dnn.so.3.3.1 /usr/lib/libopencv_ml.so.3.3.1 /usr/lib/libopencv_objdetect.so.3.3.1 /usr/lib/libopencv_shape.so.3.3.1 /usr/lib/libopencv_stitching.so.3.3.1 /usr/lib/libopencv_superres.so.3.3.1 /usr/lib/libopencv_videostab.so.3.3.1 -lpthread cvplotlib/libcvplotlib.a GAlib/libGAlib.a /usr/lib/libopencv_calib3d.so.3.3.1 /usr/lib/libopencv_features2d.so.3.3.1 /usr/lib/libopencv_flann.so.3.3.1 /usr/lib/libopencv_highgui.so.3.3.1 /usr/lib/libopencv_photo.so.3.3.1 /usr/lib/libopencv_video.so.3.3.1 /usr/lib/libopencv_videoio.so.3.3.1 /usr/lib/libopencv_imgcodecs.so.3.3.1 /usr/lib/libopencv_imgproc.so.3.3.1 /usr/lib/libopencv_core.so.3.3.1
2 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/GA.dir/progress.make:
--------------------------------------------------------------------------------
1 | CMAKE_PROGRESS_1 = 1
2 | CMAKE_PROGRESS_2 = 2
3 | CMAKE_PROGRESS_3 = 3
4 |
5 |
--------------------------------------------------------------------------------
/build/src/CMakeFiles/progress.marks:
--------------------------------------------------------------------------------
1 | 14
2 |
--------------------------------------------------------------------------------
/build/src/GA:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/build/src/GA
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/CMakeDirectoryInformation.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Relative path conversion top directories.
5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/shisanchuan/C++work/GeneticAlgorithm")
6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/shisanchuan/C++work/GeneticAlgorithm/build")
7 |
8 | # Force unix paths in dependencies.
9 | set(CMAKE_FORCE_UNIX_PATHS 1)
10 |
11 |
12 | # The C and CXX include file regular expressions for this directory.
13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
17 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/CXX.includecache:
--------------------------------------------------------------------------------
1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
2 |
3 | #IncludeRegexScan: ^.*$
4 |
5 | #IncludeRegexComplain: ^$
6 |
7 | #IncludeRegexTransform:
8 |
9 | ../includes/GA.h
10 | iostream
11 | -
12 | algorithm
13 | -
14 | vector
15 | -
16 | functional
17 | -
18 | opencv2/opencv.hpp
19 | ../includes/opencv2/opencv.hpp
20 |
21 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/PSO.cpp
22 | GA.h
23 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA.h
24 |
25 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/DependInfo.cmake:
--------------------------------------------------------------------------------
1 | # The set of languages for which implicit dependencies are needed:
2 | set(CMAKE_DEPENDS_LANGUAGES
3 | "CXX"
4 | )
5 | # The set of files for implicit dependencies of each language:
6 | set(CMAKE_DEPENDS_CHECK_CXX
7 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA.cpp" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o"
8 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_BP.cpp" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o"
9 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_TSP.cpp" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o"
10 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/PSO.cpp" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o"
11 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/QGA.cpp" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o"
12 | )
13 | set(CMAKE_CXX_COMPILER_ID "GNU")
14 |
15 | # The include file search paths:
16 | set(CMAKE_CXX_TARGET_INCLUDE_PATH
17 | "../includes"
18 | )
19 |
20 | # Targets to which this target links.
21 | set(CMAKE_TARGET_LINKED_INFO_FILES
22 | )
23 |
24 | # Fortran module output directory.
25 | set(CMAKE_Fortran_TARGET_MODULE_DIR "")
26 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/build.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Delete rule output on recipe failure.
5 | .DELETE_ON_ERROR:
6 |
7 |
8 | #=============================================================================
9 | # Special targets provided by cmake.
10 |
11 | # Disable implicit rules so canonical targets will work.
12 | .SUFFIXES:
13 |
14 |
15 | # Remove some rules from gmake that .SUFFIXES does not remove.
16 | SUFFIXES =
17 |
18 | .SUFFIXES: .hpux_make_needs_suffix_list
19 |
20 |
21 | # Suppress display of executed commands.
22 | $(VERBOSE).SILENT:
23 |
24 |
25 | # A target that is always out of date.
26 | cmake_force:
27 |
28 | .PHONY : cmake_force
29 |
30 | #=============================================================================
31 | # Set environment variables for the build.
32 |
33 | # The shell in which to execute make rules.
34 | SHELL = /bin/sh
35 |
36 | # The CMake executable.
37 | CMAKE_COMMAND = /usr/local/bin/cmake
38 |
39 | # The command to remove a file.
40 | RM = /usr/local/bin/cmake -E remove -f
41 |
42 | # Escaping for special characters.
43 | EQUALS = =
44 |
45 | # The top-level source directory on which CMake was run.
46 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
47 |
48 | # The top-level build directory on which CMake was run.
49 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
50 |
51 | # Include any dependencies generated for this target.
52 | include src/GAlib/CMakeFiles/GAlib.dir/depend.make
53 |
54 | # Include the progress variables for this target.
55 | include src/GAlib/CMakeFiles/GAlib.dir/progress.make
56 |
57 | # Include the compile flags for this target's objects.
58 | include src/GAlib/CMakeFiles/GAlib.dir/flags.make
59 |
60 | src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o: src/GAlib/CMakeFiles/GAlib.dir/flags.make
61 | src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o: ../src/GAlib/GA.cpp
62 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o"
63 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/GAlib.dir/GA.cpp.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA.cpp
64 |
65 | src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.i: cmake_force
66 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/GAlib.dir/GA.cpp.i"
67 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA.cpp > CMakeFiles/GAlib.dir/GA.cpp.i
68 |
69 | src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.s: cmake_force
70 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/GAlib.dir/GA.cpp.s"
71 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA.cpp -o CMakeFiles/GAlib.dir/GA.cpp.s
72 |
73 | src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o: src/GAlib/CMakeFiles/GAlib.dir/flags.make
74 | src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o: ../src/GAlib/GA_BP.cpp
75 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o"
76 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/GAlib.dir/GA_BP.cpp.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_BP.cpp
77 |
78 | src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.i: cmake_force
79 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/GAlib.dir/GA_BP.cpp.i"
80 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_BP.cpp > CMakeFiles/GAlib.dir/GA_BP.cpp.i
81 |
82 | src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.s: cmake_force
83 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/GAlib.dir/GA_BP.cpp.s"
84 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_BP.cpp -o CMakeFiles/GAlib.dir/GA_BP.cpp.s
85 |
86 | src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o: src/GAlib/CMakeFiles/GAlib.dir/flags.make
87 | src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o: ../src/GAlib/GA_TSP.cpp
88 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o"
89 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/GAlib.dir/GA_TSP.cpp.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_TSP.cpp
90 |
91 | src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.i: cmake_force
92 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/GAlib.dir/GA_TSP.cpp.i"
93 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_TSP.cpp > CMakeFiles/GAlib.dir/GA_TSP.cpp.i
94 |
95 | src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.s: cmake_force
96 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/GAlib.dir/GA_TSP.cpp.s"
97 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_TSP.cpp -o CMakeFiles/GAlib.dir/GA_TSP.cpp.s
98 |
99 | src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o: src/GAlib/CMakeFiles/GAlib.dir/flags.make
100 | src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o: ../src/GAlib/PSO.cpp
101 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o"
102 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/GAlib.dir/PSO.cpp.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/PSO.cpp
103 |
104 | src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.i: cmake_force
105 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/GAlib.dir/PSO.cpp.i"
106 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/PSO.cpp > CMakeFiles/GAlib.dir/PSO.cpp.i
107 |
108 | src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.s: cmake_force
109 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/GAlib.dir/PSO.cpp.s"
110 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/PSO.cpp -o CMakeFiles/GAlib.dir/PSO.cpp.s
111 |
112 | src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o: src/GAlib/CMakeFiles/GAlib.dir/flags.make
113 | src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o: ../src/GAlib/QGA.cpp
114 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building CXX object src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o"
115 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/GAlib.dir/QGA.cpp.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/QGA.cpp
116 |
117 | src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.i: cmake_force
118 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/GAlib.dir/QGA.cpp.i"
119 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/QGA.cpp > CMakeFiles/GAlib.dir/QGA.cpp.i
120 |
121 | src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.s: cmake_force
122 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/GAlib.dir/QGA.cpp.s"
123 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/QGA.cpp -o CMakeFiles/GAlib.dir/QGA.cpp.s
124 |
125 | # Object files for target GAlib
126 | GAlib_OBJECTS = \
127 | "CMakeFiles/GAlib.dir/GA.cpp.o" \
128 | "CMakeFiles/GAlib.dir/GA_BP.cpp.o" \
129 | "CMakeFiles/GAlib.dir/GA_TSP.cpp.o" \
130 | "CMakeFiles/GAlib.dir/PSO.cpp.o" \
131 | "CMakeFiles/GAlib.dir/QGA.cpp.o"
132 |
133 | # External object files for target GAlib
134 | GAlib_EXTERNAL_OBJECTS =
135 |
136 | src/GAlib/libGAlib.a: src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o
137 | src/GAlib/libGAlib.a: src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o
138 | src/GAlib/libGAlib.a: src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o
139 | src/GAlib/libGAlib.a: src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o
140 | src/GAlib/libGAlib.a: src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o
141 | src/GAlib/libGAlib.a: src/GAlib/CMakeFiles/GAlib.dir/build.make
142 | src/GAlib/libGAlib.a: src/GAlib/CMakeFiles/GAlib.dir/link.txt
143 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Linking CXX static library libGAlib.a"
144 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && $(CMAKE_COMMAND) -P CMakeFiles/GAlib.dir/cmake_clean_target.cmake
145 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/GAlib.dir/link.txt --verbose=$(VERBOSE)
146 |
147 | # Rule to build all files generated by this target.
148 | src/GAlib/CMakeFiles/GAlib.dir/build: src/GAlib/libGAlib.a
149 |
150 | .PHONY : src/GAlib/CMakeFiles/GAlib.dir/build
151 |
152 | src/GAlib/CMakeFiles/GAlib.dir/clean:
153 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib && $(CMAKE_COMMAND) -P CMakeFiles/GAlib.dir/cmake_clean.cmake
154 | .PHONY : src/GAlib/CMakeFiles/GAlib.dir/clean
155 |
156 | src/GAlib/CMakeFiles/GAlib.dir/depend:
157 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/shisanchuan/C++work/GeneticAlgorithm /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib /home/shisanchuan/C++work/GeneticAlgorithm/build /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/GAlib.dir/DependInfo.cmake --color=$(COLOR)
158 | .PHONY : src/GAlib/CMakeFiles/GAlib.dir/depend
159 |
160 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/cmake_clean.cmake:
--------------------------------------------------------------------------------
1 | file(REMOVE_RECURSE
2 | "CMakeFiles/GAlib.dir/GA.cpp.o"
3 | "CMakeFiles/GAlib.dir/GA_BP.cpp.o"
4 | "CMakeFiles/GAlib.dir/GA_TSP.cpp.o"
5 | "CMakeFiles/GAlib.dir/PSO.cpp.o"
6 | "CMakeFiles/GAlib.dir/QGA.cpp.o"
7 | "libGAlib.pdb"
8 | "libGAlib.a"
9 | )
10 |
11 | # Per-language clean rules from dependency scanning.
12 | foreach(lang CXX)
13 | include(CMakeFiles/GAlib.dir/cmake_clean_${lang}.cmake OPTIONAL)
14 | endforeach()
15 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/cmake_clean_target.cmake:
--------------------------------------------------------------------------------
1 | file(REMOVE_RECURSE
2 | "libGAlib.a"
3 | )
4 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/depend.internal:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o
5 | ../includes/GA.h
6 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA.cpp
7 | src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o
8 | ../includes/GA.h
9 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_BP.cpp
10 | src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o
11 | ../includes/GA.h
12 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/GA_TSP.cpp
13 | src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o
14 | ../includes/GA.h
15 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/PSO.cpp
16 | src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o
17 | ../includes/GA.h
18 | /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib/QGA.cpp
19 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/depend.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o: ../includes/GA.h
5 | src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o: ../src/GAlib/GA.cpp
6 |
7 | src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o: ../includes/GA.h
8 | src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o: ../src/GAlib/GA_BP.cpp
9 |
10 | src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o: ../includes/GA.h
11 | src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o: ../src/GAlib/GA_TSP.cpp
12 |
13 | src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o: ../includes/GA.h
14 | src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o: ../src/GAlib/PSO.cpp
15 |
16 | src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o: ../includes/GA.h
17 | src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o: ../src/GAlib/QGA.cpp
18 |
19 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/flags.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # compile CXX with /usr/bin/c++
5 | CXX_FLAGS = -std=gnu++11
6 |
7 | CXX_DEFINES =
8 |
9 | CXX_INCLUDES = -I/home/shisanchuan/C++work/GeneticAlgorithm/includes
10 |
11 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/link.txt:
--------------------------------------------------------------------------------
1 | /usr/bin/ar qc libGAlib.a CMakeFiles/GAlib.dir/GA.cpp.o CMakeFiles/GAlib.dir/GA_BP.cpp.o CMakeFiles/GAlib.dir/GA_TSP.cpp.o CMakeFiles/GAlib.dir/PSO.cpp.o CMakeFiles/GAlib.dir/QGA.cpp.o
2 | /usr/bin/ranlib libGAlib.a
3 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/GAlib.dir/progress.make:
--------------------------------------------------------------------------------
1 | CMAKE_PROGRESS_1 = 4
2 | CMAKE_PROGRESS_2 = 5
3 | CMAKE_PROGRESS_3 = 6
4 | CMAKE_PROGRESS_4 = 7
5 | CMAKE_PROGRESS_5 = 8
6 | CMAKE_PROGRESS_6 = 9
7 |
8 |
--------------------------------------------------------------------------------
/build/src/GAlib/CMakeFiles/progress.marks:
--------------------------------------------------------------------------------
1 | 6
2 |
--------------------------------------------------------------------------------
/build/src/GAlib/Makefile:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10 | .NOTPARALLEL:
11 |
12 |
13 | #=============================================================================
14 | # Special targets provided by cmake.
15 |
16 | # Disable implicit rules so canonical targets will work.
17 | .SUFFIXES:
18 |
19 |
20 | # Remove some rules from gmake that .SUFFIXES does not remove.
21 | SUFFIXES =
22 |
23 | .SUFFIXES: .hpux_make_needs_suffix_list
24 |
25 |
26 | # Suppress display of executed commands.
27 | $(VERBOSE).SILENT:
28 |
29 |
30 | # A target that is always out of date.
31 | cmake_force:
32 |
33 | .PHONY : cmake_force
34 |
35 | #=============================================================================
36 | # Set environment variables for the build.
37 |
38 | # The shell in which to execute make rules.
39 | SHELL = /bin/sh
40 |
41 | # The CMake executable.
42 | CMAKE_COMMAND = /usr/local/bin/cmake
43 |
44 | # The command to remove a file.
45 | RM = /usr/local/bin/cmake -E remove -f
46 |
47 | # Escaping for special characters.
48 | EQUALS = =
49 |
50 | # The top-level source directory on which CMake was run.
51 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
52 |
53 | # The top-level build directory on which CMake was run.
54 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
55 |
56 | #=============================================================================
57 | # Targets provided globally by CMake.
58 |
59 | # Special rule for the target rebuild_cache
60 | rebuild_cache:
61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 | /usr/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 | .PHONY : rebuild_cache
64 |
65 | # Special rule for the target rebuild_cache
66 | rebuild_cache/fast: rebuild_cache
67 |
68 | .PHONY : rebuild_cache/fast
69 |
70 | # Special rule for the target edit_cache
71 | edit_cache:
72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
73 | /usr/local/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
74 | .PHONY : edit_cache
75 |
76 | # Special rule for the target edit_cache
77 | edit_cache/fast: edit_cache
78 |
79 | .PHONY : edit_cache/fast
80 |
81 | # The main all target
82 | all: cmake_check_build_system
83 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles /home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/CMakeFiles/progress.marks
84 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/GAlib/all
85 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 0
86 | .PHONY : all
87 |
88 | # The main clean target
89 | clean:
90 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/GAlib/clean
91 | .PHONY : clean
92 |
93 | # The main clean target
94 | clean/fast: clean
95 |
96 | .PHONY : clean/fast
97 |
98 | # Prepare targets for installation.
99 | preinstall: all
100 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/GAlib/preinstall
101 | .PHONY : preinstall
102 |
103 | # Prepare targets for installation.
104 | preinstall/fast:
105 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/GAlib/preinstall
106 | .PHONY : preinstall/fast
107 |
108 | # clear depends
109 | depend:
110 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 | .PHONY : depend
112 |
113 | # Convenience name for target.
114 | src/GAlib/CMakeFiles/GAlib.dir/rule:
115 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/GAlib/CMakeFiles/GAlib.dir/rule
116 | .PHONY : src/GAlib/CMakeFiles/GAlib.dir/rule
117 |
118 | # Convenience name for target.
119 | GAlib: src/GAlib/CMakeFiles/GAlib.dir/rule
120 |
121 | .PHONY : GAlib
122 |
123 | # fast build rule for target.
124 | GAlib/fast:
125 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/build
126 | .PHONY : GAlib/fast
127 |
128 | GA.o: GA.cpp.o
129 |
130 | .PHONY : GA.o
131 |
132 | # target to build an object file
133 | GA.cpp.o:
134 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.o
135 | .PHONY : GA.cpp.o
136 |
137 | GA.i: GA.cpp.i
138 |
139 | .PHONY : GA.i
140 |
141 | # target to preprocess a source file
142 | GA.cpp.i:
143 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.i
144 | .PHONY : GA.cpp.i
145 |
146 | GA.s: GA.cpp.s
147 |
148 | .PHONY : GA.s
149 |
150 | # target to generate assembly for a file
151 | GA.cpp.s:
152 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA.cpp.s
153 | .PHONY : GA.cpp.s
154 |
155 | GA_BP.o: GA_BP.cpp.o
156 |
157 | .PHONY : GA_BP.o
158 |
159 | # target to build an object file
160 | GA_BP.cpp.o:
161 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.o
162 | .PHONY : GA_BP.cpp.o
163 |
164 | GA_BP.i: GA_BP.cpp.i
165 |
166 | .PHONY : GA_BP.i
167 |
168 | # target to preprocess a source file
169 | GA_BP.cpp.i:
170 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.i
171 | .PHONY : GA_BP.cpp.i
172 |
173 | GA_BP.s: GA_BP.cpp.s
174 |
175 | .PHONY : GA_BP.s
176 |
177 | # target to generate assembly for a file
178 | GA_BP.cpp.s:
179 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA_BP.cpp.s
180 | .PHONY : GA_BP.cpp.s
181 |
182 | GA_TSP.o: GA_TSP.cpp.o
183 |
184 | .PHONY : GA_TSP.o
185 |
186 | # target to build an object file
187 | GA_TSP.cpp.o:
188 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.o
189 | .PHONY : GA_TSP.cpp.o
190 |
191 | GA_TSP.i: GA_TSP.cpp.i
192 |
193 | .PHONY : GA_TSP.i
194 |
195 | # target to preprocess a source file
196 | GA_TSP.cpp.i:
197 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.i
198 | .PHONY : GA_TSP.cpp.i
199 |
200 | GA_TSP.s: GA_TSP.cpp.s
201 |
202 | .PHONY : GA_TSP.s
203 |
204 | # target to generate assembly for a file
205 | GA_TSP.cpp.s:
206 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/GA_TSP.cpp.s
207 | .PHONY : GA_TSP.cpp.s
208 |
209 | PSO.o: PSO.cpp.o
210 |
211 | .PHONY : PSO.o
212 |
213 | # target to build an object file
214 | PSO.cpp.o:
215 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.o
216 | .PHONY : PSO.cpp.o
217 |
218 | PSO.i: PSO.cpp.i
219 |
220 | .PHONY : PSO.i
221 |
222 | # target to preprocess a source file
223 | PSO.cpp.i:
224 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.i
225 | .PHONY : PSO.cpp.i
226 |
227 | PSO.s: PSO.cpp.s
228 |
229 | .PHONY : PSO.s
230 |
231 | # target to generate assembly for a file
232 | PSO.cpp.s:
233 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/PSO.cpp.s
234 | .PHONY : PSO.cpp.s
235 |
236 | QGA.o: QGA.cpp.o
237 |
238 | .PHONY : QGA.o
239 |
240 | # target to build an object file
241 | QGA.cpp.o:
242 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.o
243 | .PHONY : QGA.cpp.o
244 |
245 | QGA.i: QGA.cpp.i
246 |
247 | .PHONY : QGA.i
248 |
249 | # target to preprocess a source file
250 | QGA.cpp.i:
251 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.i
252 | .PHONY : QGA.cpp.i
253 |
254 | QGA.s: QGA.cpp.s
255 |
256 | .PHONY : QGA.s
257 |
258 | # target to generate assembly for a file
259 | QGA.cpp.s:
260 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/GAlib/CMakeFiles/GAlib.dir/build.make src/GAlib/CMakeFiles/GAlib.dir/QGA.cpp.s
261 | .PHONY : QGA.cpp.s
262 |
263 | # Help Target
264 | help:
265 | @echo "The following are some of the valid targets for this Makefile:"
266 | @echo "... all (the default if no target is provided)"
267 | @echo "... clean"
268 | @echo "... depend"
269 | @echo "... rebuild_cache"
270 | @echo "... edit_cache"
271 | @echo "... GAlib"
272 | @echo "... GA.o"
273 | @echo "... GA.i"
274 | @echo "... GA.s"
275 | @echo "... GA_BP.o"
276 | @echo "... GA_BP.i"
277 | @echo "... GA_BP.s"
278 | @echo "... GA_TSP.o"
279 | @echo "... GA_TSP.i"
280 | @echo "... GA_TSP.s"
281 | @echo "... PSO.o"
282 | @echo "... PSO.i"
283 | @echo "... PSO.s"
284 | @echo "... QGA.o"
285 | @echo "... QGA.i"
286 | @echo "... QGA.s"
287 | .PHONY : help
288 |
289 |
290 |
291 | #=============================================================================
292 | # Special targets to cleanup operation of make.
293 |
294 | # Special rule to run CMake to check the build system integrity.
295 | # No rule that depends on this can have commands that come from listfiles
296 | # because they might be regenerated.
297 | cmake_check_build_system:
298 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
299 | .PHONY : cmake_check_build_system
300 |
301 |
--------------------------------------------------------------------------------
/build/src/GAlib/cmake_install.cmake:
--------------------------------------------------------------------------------
1 | # Install script for directory: /home/shisanchuan/C++work/GeneticAlgorithm/src/GAlib
2 |
3 | # Set the install prefix
4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 | set(CMAKE_INSTALL_PREFIX "/usr/local")
6 | endif()
7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8 |
9 | # Set the install configuration name.
10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 | if(BUILD_TYPE)
12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 | else()
15 | set(CMAKE_INSTALL_CONFIG_NAME "")
16 | endif()
17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 | endif()
19 |
20 | # Set the component getting installed.
21 | if(NOT CMAKE_INSTALL_COMPONENT)
22 | if(COMPONENT)
23 | message(STATUS "Install component: \"${COMPONENT}\"")
24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 | else()
26 | set(CMAKE_INSTALL_COMPONENT)
27 | endif()
28 | endif()
29 |
30 | # Install shared libraries without execute permission?
31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
32 | set(CMAKE_INSTALL_SO_NO_EXE "1")
33 | endif()
34 |
35 | # Is this installation the result of a crosscompile?
36 | if(NOT DEFINED CMAKE_CROSSCOMPILING)
37 | set(CMAKE_CROSSCOMPILING "FALSE")
38 | endif()
39 |
40 |
--------------------------------------------------------------------------------
/build/src/Makefile:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10 | .NOTPARALLEL:
11 |
12 |
13 | #=============================================================================
14 | # Special targets provided by cmake.
15 |
16 | # Disable implicit rules so canonical targets will work.
17 | .SUFFIXES:
18 |
19 |
20 | # Remove some rules from gmake that .SUFFIXES does not remove.
21 | SUFFIXES =
22 |
23 | .SUFFIXES: .hpux_make_needs_suffix_list
24 |
25 |
26 | # Suppress display of executed commands.
27 | $(VERBOSE).SILENT:
28 |
29 |
30 | # A target that is always out of date.
31 | cmake_force:
32 |
33 | .PHONY : cmake_force
34 |
35 | #=============================================================================
36 | # Set environment variables for the build.
37 |
38 | # The shell in which to execute make rules.
39 | SHELL = /bin/sh
40 |
41 | # The CMake executable.
42 | CMAKE_COMMAND = /usr/local/bin/cmake
43 |
44 | # The command to remove a file.
45 | RM = /usr/local/bin/cmake -E remove -f
46 |
47 | # Escaping for special characters.
48 | EQUALS = =
49 |
50 | # The top-level source directory on which CMake was run.
51 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
52 |
53 | # The top-level build directory on which CMake was run.
54 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
55 |
56 | #=============================================================================
57 | # Targets provided globally by CMake.
58 |
59 | # Special rule for the target rebuild_cache
60 | rebuild_cache:
61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 | /usr/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 | .PHONY : rebuild_cache
64 |
65 | # Special rule for the target rebuild_cache
66 | rebuild_cache/fast: rebuild_cache
67 |
68 | .PHONY : rebuild_cache/fast
69 |
70 | # Special rule for the target edit_cache
71 | edit_cache:
72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
73 | /usr/local/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
74 | .PHONY : edit_cache
75 |
76 | # Special rule for the target edit_cache
77 | edit_cache/fast: edit_cache
78 |
79 | .PHONY : edit_cache/fast
80 |
81 | # The main all target
82 | all: cmake_check_build_system
83 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles /home/shisanchuan/C++work/GeneticAlgorithm/build/src/CMakeFiles/progress.marks
84 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/all
85 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 0
86 | .PHONY : all
87 |
88 | # The main clean target
89 | clean:
90 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/clean
91 | .PHONY : clean
92 |
93 | # The main clean target
94 | clean/fast: clean
95 |
96 | .PHONY : clean/fast
97 |
98 | # Prepare targets for installation.
99 | preinstall: all
100 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
101 | .PHONY : preinstall
102 |
103 | # Prepare targets for installation.
104 | preinstall/fast:
105 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
106 | .PHONY : preinstall/fast
107 |
108 | # clear depends
109 | depend:
110 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 | .PHONY : depend
112 |
113 | # Convenience name for target.
114 | src/CMakeFiles/GA.dir/rule:
115 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/GA.dir/rule
116 | .PHONY : src/CMakeFiles/GA.dir/rule
117 |
118 | # Convenience name for target.
119 | GA: src/CMakeFiles/GA.dir/rule
120 |
121 | .PHONY : GA
122 |
123 | # fast build rule for target.
124 | GA/fast:
125 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/build
126 | .PHONY : GA/fast
127 |
128 | demo.o: demo.cpp.o
129 |
130 | .PHONY : demo.o
131 |
132 | # target to build an object file
133 | demo.cpp.o:
134 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/demo.cpp.o
135 | .PHONY : demo.cpp.o
136 |
137 | demo.i: demo.cpp.i
138 |
139 | .PHONY : demo.i
140 |
141 | # target to preprocess a source file
142 | demo.cpp.i:
143 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/demo.cpp.i
144 | .PHONY : demo.cpp.i
145 |
146 | demo.s: demo.cpp.s
147 |
148 | .PHONY : demo.s
149 |
150 | # target to generate assembly for a file
151 | demo.cpp.s:
152 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/demo.cpp.s
153 | .PHONY : demo.cpp.s
154 |
155 | main.o: main.cpp.o
156 |
157 | .PHONY : main.o
158 |
159 | # target to build an object file
160 | main.cpp.o:
161 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/main.cpp.o
162 | .PHONY : main.cpp.o
163 |
164 | main.i: main.cpp.i
165 |
166 | .PHONY : main.i
167 |
168 | # target to preprocess a source file
169 | main.cpp.i:
170 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/main.cpp.i
171 | .PHONY : main.cpp.i
172 |
173 | main.s: main.cpp.s
174 |
175 | .PHONY : main.s
176 |
177 | # target to generate assembly for a file
178 | main.cpp.s:
179 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/CMakeFiles/GA.dir/build.make src/CMakeFiles/GA.dir/main.cpp.s
180 | .PHONY : main.cpp.s
181 |
182 | # Help Target
183 | help:
184 | @echo "The following are some of the valid targets for this Makefile:"
185 | @echo "... all (the default if no target is provided)"
186 | @echo "... clean"
187 | @echo "... depend"
188 | @echo "... rebuild_cache"
189 | @echo "... edit_cache"
190 | @echo "... GA"
191 | @echo "... demo.o"
192 | @echo "... demo.i"
193 | @echo "... demo.s"
194 | @echo "... main.o"
195 | @echo "... main.i"
196 | @echo "... main.s"
197 | .PHONY : help
198 |
199 |
200 |
201 | #=============================================================================
202 | # Special targets to cleanup operation of make.
203 |
204 | # Special rule to run CMake to check the build system integrity.
205 | # No rule that depends on this can have commands that come from listfiles
206 | # because they might be regenerated.
207 | cmake_check_build_system:
208 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
209 | .PHONY : cmake_check_build_system
210 |
211 |
--------------------------------------------------------------------------------
/build/src/cmake_install.cmake:
--------------------------------------------------------------------------------
1 | # Install script for directory: /home/shisanchuan/C++work/GeneticAlgorithm/src
2 |
3 | # Set the install prefix
4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 | set(CMAKE_INSTALL_PREFIX "/usr/local")
6 | endif()
7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8 |
9 | # Set the install configuration name.
10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 | if(BUILD_TYPE)
12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 | else()
15 | set(CMAKE_INSTALL_CONFIG_NAME "")
16 | endif()
17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 | endif()
19 |
20 | # Set the component getting installed.
21 | if(NOT CMAKE_INSTALL_COMPONENT)
22 | if(COMPONENT)
23 | message(STATUS "Install component: \"${COMPONENT}\"")
24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 | else()
26 | set(CMAKE_INSTALL_COMPONENT)
27 | endif()
28 | endif()
29 |
30 | # Install shared libraries without execute permission?
31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
32 | set(CMAKE_INSTALL_SO_NO_EXE "1")
33 | endif()
34 |
35 | # Is this installation the result of a crosscompile?
36 | if(NOT DEFINED CMAKE_CROSSCOMPILING)
37 | set(CMAKE_CROSSCOMPILING "FALSE")
38 | endif()
39 |
40 | if(NOT CMAKE_INSTALL_LOCAL_ONLY)
41 | # Include the install script for each subdirectory.
42 | include("/home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/cmake_install.cmake")
43 | include("/home/shisanchuan/C++work/GeneticAlgorithm/build/src/GAlib/cmake_install.cmake")
44 |
45 | endif()
46 |
47 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/CMakeDirectoryInformation.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Relative path conversion top directories.
5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/shisanchuan/C++work/GeneticAlgorithm")
6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/shisanchuan/C++work/GeneticAlgorithm/build")
7 |
8 | # Force unix paths in dependencies.
9 | set(CMAKE_FORCE_UNIX_PATHS 1)
10 |
11 |
12 | # The C and CXX include file regular expressions for this directory.
13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
17 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/CXX.includecache:
--------------------------------------------------------------------------------
1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
2 |
3 | #IncludeRegexScan: ^.*$
4 |
5 | #IncludeRegexComplain: ^$
6 |
7 | #IncludeRegexTransform:
8 |
9 | ../includes/color.h
10 | string
11 | -
12 |
13 | ../includes/figure.h
14 | color.h
15 | ../includes/color.h
16 | window.h
17 | ../includes/window.h
18 | map
19 | -
20 | string
21 | -
22 | vector
23 | -
24 |
25 | ../includes/highgui.h
26 | string
27 | -
28 | vector
29 | -
30 | window.h
31 | ../includes/window.h
32 |
33 | ../includes/window.h
34 | color.h
35 | ../includes/color.h
36 | map
37 | -
38 | string
39 | -
40 |
41 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/color.cc
42 | color.h
43 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/color.h
44 | cmath
45 | -
46 | map
47 | -
48 |
49 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/figure.cc
50 | figure.h
51 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/figure.h
52 | window.h
53 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.h
54 | internal.h
55 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/internal.h
56 | opencv2/imgproc/imgproc.hpp
57 | -
58 |
59 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/highgui.cc
60 | highgui.h
61 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/highgui.h
62 | opencv2/highgui/highgui.hpp
63 | -
64 |
65 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/internal.h
66 | opencv2/core/core.hpp
67 | -
68 | iomanip
69 | -
70 | iostream
71 | -
72 |
73 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.cc
74 | window.h
75 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.h
76 | internal.h
77 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/internal.h
78 | opencv2/highgui/highgui.hpp
79 | -
80 | opencv2/imgproc/imgproc.hpp
81 | -
82 | ctime
83 | -
84 |
85 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/DependInfo.cmake:
--------------------------------------------------------------------------------
1 | # The set of languages for which implicit dependencies are needed:
2 | set(CMAKE_DEPENDS_LANGUAGES
3 | "CXX"
4 | )
5 | # The set of files for implicit dependencies of each language:
6 | set(CMAKE_DEPENDS_CHECK_CXX
7 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/color.cc" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o"
8 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/figure.cc" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o"
9 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/highgui.cc" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o"
10 | "/home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.cc" "/home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o"
11 | )
12 | set(CMAKE_CXX_COMPILER_ID "GNU")
13 |
14 | # The include file search paths:
15 | set(CMAKE_CXX_TARGET_INCLUDE_PATH
16 | "../includes"
17 | )
18 |
19 | # Targets to which this target links.
20 | set(CMAKE_TARGET_LINKED_INFO_FILES
21 | )
22 |
23 | # Fortran module output directory.
24 | set(CMAKE_Fortran_TARGET_MODULE_DIR "")
25 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Delete rule output on recipe failure.
5 | .DELETE_ON_ERROR:
6 |
7 |
8 | #=============================================================================
9 | # Special targets provided by cmake.
10 |
11 | # Disable implicit rules so canonical targets will work.
12 | .SUFFIXES:
13 |
14 |
15 | # Remove some rules from gmake that .SUFFIXES does not remove.
16 | SUFFIXES =
17 |
18 | .SUFFIXES: .hpux_make_needs_suffix_list
19 |
20 |
21 | # Suppress display of executed commands.
22 | $(VERBOSE).SILENT:
23 |
24 |
25 | # A target that is always out of date.
26 | cmake_force:
27 |
28 | .PHONY : cmake_force
29 |
30 | #=============================================================================
31 | # Set environment variables for the build.
32 |
33 | # The shell in which to execute make rules.
34 | SHELL = /bin/sh
35 |
36 | # The CMake executable.
37 | CMAKE_COMMAND = /usr/local/bin/cmake
38 |
39 | # The command to remove a file.
40 | RM = /usr/local/bin/cmake -E remove -f
41 |
42 | # Escaping for special characters.
43 | EQUALS = =
44 |
45 | # The top-level source directory on which CMake was run.
46 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
47 |
48 | # The top-level build directory on which CMake was run.
49 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
50 |
51 | # Include any dependencies generated for this target.
52 | include src/cvplotlib/CMakeFiles/cvplotlib.dir/depend.make
53 |
54 | # Include the progress variables for this target.
55 | include src/cvplotlib/CMakeFiles/cvplotlib.dir/progress.make
56 |
57 | # Include the compile flags for this target's objects.
58 | include src/cvplotlib/CMakeFiles/cvplotlib.dir/flags.make
59 |
60 | src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o: src/cvplotlib/CMakeFiles/cvplotlib.dir/flags.make
61 | src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o: ../src/cvplotlib/color.cc
62 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o"
63 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/cvplotlib.dir/color.cc.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/color.cc
64 |
65 | src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.i: cmake_force
66 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/cvplotlib.dir/color.cc.i"
67 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/color.cc > CMakeFiles/cvplotlib.dir/color.cc.i
68 |
69 | src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.s: cmake_force
70 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/cvplotlib.dir/color.cc.s"
71 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/color.cc -o CMakeFiles/cvplotlib.dir/color.cc.s
72 |
73 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o: src/cvplotlib/CMakeFiles/cvplotlib.dir/flags.make
74 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o: ../src/cvplotlib/figure.cc
75 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o"
76 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/cvplotlib.dir/figure.cc.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/figure.cc
77 |
78 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.i: cmake_force
79 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/cvplotlib.dir/figure.cc.i"
80 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/figure.cc > CMakeFiles/cvplotlib.dir/figure.cc.i
81 |
82 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.s: cmake_force
83 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/cvplotlib.dir/figure.cc.s"
84 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/figure.cc -o CMakeFiles/cvplotlib.dir/figure.cc.s
85 |
86 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o: src/cvplotlib/CMakeFiles/cvplotlib.dir/flags.make
87 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o: ../src/cvplotlib/highgui.cc
88 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o"
89 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/cvplotlib.dir/highgui.cc.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/highgui.cc
90 |
91 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.i: cmake_force
92 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/cvplotlib.dir/highgui.cc.i"
93 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/highgui.cc > CMakeFiles/cvplotlib.dir/highgui.cc.i
94 |
95 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.s: cmake_force
96 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/cvplotlib.dir/highgui.cc.s"
97 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/highgui.cc -o CMakeFiles/cvplotlib.dir/highgui.cc.s
98 |
99 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o: src/cvplotlib/CMakeFiles/cvplotlib.dir/flags.make
100 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o: ../src/cvplotlib/window.cc
101 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o"
102 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/cvplotlib.dir/window.cc.o -c /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.cc
103 |
104 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.i: cmake_force
105 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/cvplotlib.dir/window.cc.i"
106 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.cc > CMakeFiles/cvplotlib.dir/window.cc.i
107 |
108 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.s: cmake_force
109 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/cvplotlib.dir/window.cc.s"
110 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.cc -o CMakeFiles/cvplotlib.dir/window.cc.s
111 |
112 | # Object files for target cvplotlib
113 | cvplotlib_OBJECTS = \
114 | "CMakeFiles/cvplotlib.dir/color.cc.o" \
115 | "CMakeFiles/cvplotlib.dir/figure.cc.o" \
116 | "CMakeFiles/cvplotlib.dir/highgui.cc.o" \
117 | "CMakeFiles/cvplotlib.dir/window.cc.o"
118 |
119 | # External object files for target cvplotlib
120 | cvplotlib_EXTERNAL_OBJECTS =
121 |
122 | src/cvplotlib/libcvplotlib.a: src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o
123 | src/cvplotlib/libcvplotlib.a: src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o
124 | src/cvplotlib/libcvplotlib.a: src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o
125 | src/cvplotlib/libcvplotlib.a: src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o
126 | src/cvplotlib/libcvplotlib.a: src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make
127 | src/cvplotlib/libcvplotlib.a: src/cvplotlib/CMakeFiles/cvplotlib.dir/link.txt
128 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Linking CXX static library libcvplotlib.a"
129 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && $(CMAKE_COMMAND) -P CMakeFiles/cvplotlib.dir/cmake_clean_target.cmake
130 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/cvplotlib.dir/link.txt --verbose=$(VERBOSE)
131 |
132 | # Rule to build all files generated by this target.
133 | src/cvplotlib/CMakeFiles/cvplotlib.dir/build: src/cvplotlib/libcvplotlib.a
134 |
135 | .PHONY : src/cvplotlib/CMakeFiles/cvplotlib.dir/build
136 |
137 | src/cvplotlib/CMakeFiles/cvplotlib.dir/clean:
138 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib && $(CMAKE_COMMAND) -P CMakeFiles/cvplotlib.dir/cmake_clean.cmake
139 | .PHONY : src/cvplotlib/CMakeFiles/cvplotlib.dir/clean
140 |
141 | src/cvplotlib/CMakeFiles/cvplotlib.dir/depend:
142 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/shisanchuan/C++work/GeneticAlgorithm /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib /home/shisanchuan/C++work/GeneticAlgorithm/build /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/DependInfo.cmake --color=$(COLOR)
143 | .PHONY : src/cvplotlib/CMakeFiles/cvplotlib.dir/depend
144 |
145 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/cmake_clean.cmake:
--------------------------------------------------------------------------------
1 | file(REMOVE_RECURSE
2 | "CMakeFiles/cvplotlib.dir/color.cc.o"
3 | "CMakeFiles/cvplotlib.dir/figure.cc.o"
4 | "CMakeFiles/cvplotlib.dir/highgui.cc.o"
5 | "CMakeFiles/cvplotlib.dir/window.cc.o"
6 | "libcvplotlib.pdb"
7 | "libcvplotlib.a"
8 | )
9 |
10 | # Per-language clean rules from dependency scanning.
11 | foreach(lang CXX)
12 | include(CMakeFiles/cvplotlib.dir/cmake_clean_${lang}.cmake OPTIONAL)
13 | endforeach()
14 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/cmake_clean_target.cmake:
--------------------------------------------------------------------------------
1 | file(REMOVE_RECURSE
2 | "libcvplotlib.a"
3 | )
4 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/depend.internal:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o
5 | ../includes/color.h
6 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/color.cc
7 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o
8 | ../includes/color.h
9 | ../includes/figure.h
10 | ../includes/window.h
11 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/figure.cc
12 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/internal.h
13 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o
14 | ../includes/color.h
15 | ../includes/highgui.h
16 | ../includes/window.h
17 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/highgui.cc
18 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o
19 | ../includes/color.h
20 | ../includes/window.h
21 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/internal.h
22 | /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib/window.cc
23 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/depend.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o: ../includes/color.h
5 | src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o: ../src/cvplotlib/color.cc
6 |
7 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o: ../includes/color.h
8 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o: ../includes/figure.h
9 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o: ../includes/window.h
10 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o: ../src/cvplotlib/figure.cc
11 | src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o: ../src/cvplotlib/internal.h
12 |
13 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o: ../includes/color.h
14 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o: ../includes/highgui.h
15 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o: ../includes/window.h
16 | src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o: ../src/cvplotlib/highgui.cc
17 |
18 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o: ../includes/color.h
19 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o: ../includes/window.h
20 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o: ../src/cvplotlib/internal.h
21 | src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o: ../src/cvplotlib/window.cc
22 |
23 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/flags.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # compile CXX with /usr/bin/c++
5 | CXX_FLAGS = -std=gnu++11
6 |
7 | CXX_DEFINES =
8 |
9 | CXX_INCLUDES = -I/home/shisanchuan/C++work/GeneticAlgorithm/includes
10 |
11 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/link.txt:
--------------------------------------------------------------------------------
1 | /usr/bin/ar qc libcvplotlib.a CMakeFiles/cvplotlib.dir/color.cc.o CMakeFiles/cvplotlib.dir/figure.cc.o CMakeFiles/cvplotlib.dir/highgui.cc.o CMakeFiles/cvplotlib.dir/window.cc.o
2 | /usr/bin/ranlib libcvplotlib.a
3 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/cvplotlib.dir/progress.make:
--------------------------------------------------------------------------------
1 | CMAKE_PROGRESS_1 = 10
2 | CMAKE_PROGRESS_2 = 11
3 | CMAKE_PROGRESS_3 = 12
4 | CMAKE_PROGRESS_4 = 13
5 | CMAKE_PROGRESS_5 = 14
6 |
7 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/CMakeFiles/progress.marks:
--------------------------------------------------------------------------------
1 | 5
2 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/Makefile:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.12
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10 | .NOTPARALLEL:
11 |
12 |
13 | #=============================================================================
14 | # Special targets provided by cmake.
15 |
16 | # Disable implicit rules so canonical targets will work.
17 | .SUFFIXES:
18 |
19 |
20 | # Remove some rules from gmake that .SUFFIXES does not remove.
21 | SUFFIXES =
22 |
23 | .SUFFIXES: .hpux_make_needs_suffix_list
24 |
25 |
26 | # Suppress display of executed commands.
27 | $(VERBOSE).SILENT:
28 |
29 |
30 | # A target that is always out of date.
31 | cmake_force:
32 |
33 | .PHONY : cmake_force
34 |
35 | #=============================================================================
36 | # Set environment variables for the build.
37 |
38 | # The shell in which to execute make rules.
39 | SHELL = /bin/sh
40 |
41 | # The CMake executable.
42 | CMAKE_COMMAND = /usr/local/bin/cmake
43 |
44 | # The command to remove a file.
45 | RM = /usr/local/bin/cmake -E remove -f
46 |
47 | # Escaping for special characters.
48 | EQUALS = =
49 |
50 | # The top-level source directory on which CMake was run.
51 | CMAKE_SOURCE_DIR = /home/shisanchuan/C++work/GeneticAlgorithm
52 |
53 | # The top-level build directory on which CMake was run.
54 | CMAKE_BINARY_DIR = /home/shisanchuan/C++work/GeneticAlgorithm/build
55 |
56 | #=============================================================================
57 | # Targets provided globally by CMake.
58 |
59 | # Special rule for the target rebuild_cache
60 | rebuild_cache:
61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 | /usr/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 | .PHONY : rebuild_cache
64 |
65 | # Special rule for the target rebuild_cache
66 | rebuild_cache/fast: rebuild_cache
67 |
68 | .PHONY : rebuild_cache/fast
69 |
70 | # Special rule for the target edit_cache
71 | edit_cache:
72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
73 | /usr/local/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
74 | .PHONY : edit_cache
75 |
76 | # Special rule for the target edit_cache
77 | edit_cache/fast: edit_cache
78 |
79 | .PHONY : edit_cache/fast
80 |
81 | # The main all target
82 | all: cmake_check_build_system
83 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles /home/shisanchuan/C++work/GeneticAlgorithm/build/src/cvplotlib/CMakeFiles/progress.marks
84 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/cvplotlib/all
85 | $(CMAKE_COMMAND) -E cmake_progress_start /home/shisanchuan/C++work/GeneticAlgorithm/build/CMakeFiles 0
86 | .PHONY : all
87 |
88 | # The main clean target
89 | clean:
90 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/cvplotlib/clean
91 | .PHONY : clean
92 |
93 | # The main clean target
94 | clean/fast: clean
95 |
96 | .PHONY : clean/fast
97 |
98 | # Prepare targets for installation.
99 | preinstall: all
100 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/cvplotlib/preinstall
101 | .PHONY : preinstall
102 |
103 | # Prepare targets for installation.
104 | preinstall/fast:
105 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/cvplotlib/preinstall
106 | .PHONY : preinstall/fast
107 |
108 | # clear depends
109 | depend:
110 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 | .PHONY : depend
112 |
113 | # Convenience name for target.
114 | src/cvplotlib/CMakeFiles/cvplotlib.dir/rule:
115 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f CMakeFiles/Makefile2 src/cvplotlib/CMakeFiles/cvplotlib.dir/rule
116 | .PHONY : src/cvplotlib/CMakeFiles/cvplotlib.dir/rule
117 |
118 | # Convenience name for target.
119 | cvplotlib: src/cvplotlib/CMakeFiles/cvplotlib.dir/rule
120 |
121 | .PHONY : cvplotlib
122 |
123 | # fast build rule for target.
124 | cvplotlib/fast:
125 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/build
126 | .PHONY : cvplotlib/fast
127 |
128 | color.o: color.cc.o
129 |
130 | .PHONY : color.o
131 |
132 | # target to build an object file
133 | color.cc.o:
134 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.o
135 | .PHONY : color.cc.o
136 |
137 | color.i: color.cc.i
138 |
139 | .PHONY : color.i
140 |
141 | # target to preprocess a source file
142 | color.cc.i:
143 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.i
144 | .PHONY : color.cc.i
145 |
146 | color.s: color.cc.s
147 |
148 | .PHONY : color.s
149 |
150 | # target to generate assembly for a file
151 | color.cc.s:
152 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/color.cc.s
153 | .PHONY : color.cc.s
154 |
155 | figure.o: figure.cc.o
156 |
157 | .PHONY : figure.o
158 |
159 | # target to build an object file
160 | figure.cc.o:
161 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.o
162 | .PHONY : figure.cc.o
163 |
164 | figure.i: figure.cc.i
165 |
166 | .PHONY : figure.i
167 |
168 | # target to preprocess a source file
169 | figure.cc.i:
170 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.i
171 | .PHONY : figure.cc.i
172 |
173 | figure.s: figure.cc.s
174 |
175 | .PHONY : figure.s
176 |
177 | # target to generate assembly for a file
178 | figure.cc.s:
179 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/figure.cc.s
180 | .PHONY : figure.cc.s
181 |
182 | highgui.o: highgui.cc.o
183 |
184 | .PHONY : highgui.o
185 |
186 | # target to build an object file
187 | highgui.cc.o:
188 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.o
189 | .PHONY : highgui.cc.o
190 |
191 | highgui.i: highgui.cc.i
192 |
193 | .PHONY : highgui.i
194 |
195 | # target to preprocess a source file
196 | highgui.cc.i:
197 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.i
198 | .PHONY : highgui.cc.i
199 |
200 | highgui.s: highgui.cc.s
201 |
202 | .PHONY : highgui.s
203 |
204 | # target to generate assembly for a file
205 | highgui.cc.s:
206 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/highgui.cc.s
207 | .PHONY : highgui.cc.s
208 |
209 | window.o: window.cc.o
210 |
211 | .PHONY : window.o
212 |
213 | # target to build an object file
214 | window.cc.o:
215 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.o
216 | .PHONY : window.cc.o
217 |
218 | window.i: window.cc.i
219 |
220 | .PHONY : window.i
221 |
222 | # target to preprocess a source file
223 | window.cc.i:
224 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.i
225 | .PHONY : window.cc.i
226 |
227 | window.s: window.cc.s
228 |
229 | .PHONY : window.s
230 |
231 | # target to generate assembly for a file
232 | window.cc.s:
233 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(MAKE) -f src/cvplotlib/CMakeFiles/cvplotlib.dir/build.make src/cvplotlib/CMakeFiles/cvplotlib.dir/window.cc.s
234 | .PHONY : window.cc.s
235 |
236 | # Help Target
237 | help:
238 | @echo "The following are some of the valid targets for this Makefile:"
239 | @echo "... all (the default if no target is provided)"
240 | @echo "... clean"
241 | @echo "... depend"
242 | @echo "... rebuild_cache"
243 | @echo "... edit_cache"
244 | @echo "... cvplotlib"
245 | @echo "... color.o"
246 | @echo "... color.i"
247 | @echo "... color.s"
248 | @echo "... figure.o"
249 | @echo "... figure.i"
250 | @echo "... figure.s"
251 | @echo "... highgui.o"
252 | @echo "... highgui.i"
253 | @echo "... highgui.s"
254 | @echo "... window.o"
255 | @echo "... window.i"
256 | @echo "... window.s"
257 | .PHONY : help
258 |
259 |
260 |
261 | #=============================================================================
262 | # Special targets to cleanup operation of make.
263 |
264 | # Special rule to run CMake to check the build system integrity.
265 | # No rule that depends on this can have commands that come from listfiles
266 | # because they might be regenerated.
267 | cmake_check_build_system:
268 | cd /home/shisanchuan/C++work/GeneticAlgorithm/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
269 | .PHONY : cmake_check_build_system
270 |
271 |
--------------------------------------------------------------------------------
/build/src/cvplotlib/cmake_install.cmake:
--------------------------------------------------------------------------------
1 | # Install script for directory: /home/shisanchuan/C++work/GeneticAlgorithm/src/cvplotlib
2 |
3 | # Set the install prefix
4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 | set(CMAKE_INSTALL_PREFIX "/usr/local")
6 | endif()
7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8 |
9 | # Set the install configuration name.
10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 | if(BUILD_TYPE)
12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 | else()
15 | set(CMAKE_INSTALL_CONFIG_NAME "")
16 | endif()
17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 | endif()
19 |
20 | # Set the component getting installed.
21 | if(NOT CMAKE_INSTALL_COMPONENT)
22 | if(COMPONENT)
23 | message(STATUS "Install component: \"${COMPONENT}\"")
24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 | else()
26 | set(CMAKE_INSTALL_COMPONENT)
27 | endif()
28 | endif()
29 |
30 | # Install shared libraries without execute permission?
31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
32 | set(CMAKE_INSTALL_SO_NO_EXE "1")
33 | endif()
34 |
35 | # Is this installation the result of a crosscompile?
36 | if(NOT DEFINED CMAKE_CROSSCOMPILING)
37 | set(CMAKE_CROSSCOMPILING "FALSE")
38 | endif()
39 |
40 |
--------------------------------------------------------------------------------
/demo_picture/demo1_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo1_1.png
--------------------------------------------------------------------------------
/demo_picture/demo1_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo1_2.png
--------------------------------------------------------------------------------
/demo_picture/demo1_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo1_3.png
--------------------------------------------------------------------------------
/demo_picture/demo2_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo2_1.png
--------------------------------------------------------------------------------
/demo_picture/demo2_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo2_2.png
--------------------------------------------------------------------------------
/demo_picture/demo3_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo3_1.png
--------------------------------------------------------------------------------
/demo_picture/demo4_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo4_1.png
--------------------------------------------------------------------------------
/demo_picture/demo5_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo5_1.png
--------------------------------------------------------------------------------
/demo_picture/demo6_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/demo6_1.png
--------------------------------------------------------------------------------
/demo_picture/think.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShiSanChuan/GeneticAlgorithm/b8216952ded468170f533ff364a25b93a30d0859/demo_picture/think.png
--------------------------------------------------------------------------------
/includes/GA.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 | #include "opencv2/opencv.hpp"
6 | #define pi 3.1415926
7 | //GA_base
8 | class GA
9 | {
10 | protected:
11 | int chrom_num;
12 | int gene_num;
13 | float p_recombin;
14 | float p_mut;
15 | float search_min;
16 | float search_max;
17 | int para_num;
18 | cv::Mat ost;//fun ,x,y,z..
19 | private:
20 | float (*fun)(std::vector argv);
21 | public:
22 | GA(const int _chrom_num=40,const int _gene_num=20,
23 | const float _p_recombin=0.3,const float _p_mut=0.2,
24 | const float min=0,const float max=1,const int _para_num=1);
25 | void solve(float (*_fun)(std::vector argv),const int &_para_num=0);
26 | ~GA(){};
27 | cv::Mat crtbp(const int &Nind=0,const int &Lind=0,const int&encodemin=0,const int &encodemax=2);
28 | std::pair , float> ranking(void);
29 | GA& select(cv::Mat &Popula,int _method=0);
30 | GA& recombin(cv::Mat &Popula,const float &opt=0);
31 | GA& mut(cv::Mat &Popula,float opt=0);
32 | void bs2rv(cv::Mat &Popula,float min=0,float max=0);
33 | };
34 | //BP
35 | class GA_BP:public GA
36 | {
37 | private:
38 | cv::Mat input;
39 | cv::Mat output;
40 | int implication_num;
41 | public:
42 | GA_BP(const int _chrom_num=40,const int _gene_num=20,
43 | const float _p_recombin=0.3,const float _p_mut=0.2,
44 | const float min=0,const float max=1,const int _para_num=1):
45 | GA(_chrom_num,_gene_num,_p_recombin,_p_mut,min,max,_para_num){}
46 |
47 | ~GA_BP(){};
48 | void BPsolve(cv::Mat &_input,cv::Mat &_output);
49 | std::pair, float> ranking(void);
50 | };
51 | //GA_TSP
52 | class GA_TSP:public GA
53 | {
54 | private:
55 | cv::Mat address;
56 | double distance(int indexi,int indexj);
57 | public:
58 | GA_TSP(const int _chrom_num=40,const int _gene_num=20,
59 | const float _p_recombin=0.3,const float _p_mut=0.2,
60 | const float min=0,const float max=1,const int _para_num=1):
61 | GA(_chrom_num,_gene_num,_p_recombin,_p_mut,min,max,_para_num){}
62 |
63 | ~GA_TSP(){};
64 | void TSPsolve(cv::Mat &_address);
65 | std::pair, float> ranking(cv::Mat &_Poulate);
66 | cv::Mat crtbp(int encodemax=0);
67 | GA_TSP& recombin(cv::Mat &Popula,const float &opt=0);
68 | GA_TSP& mut(cv::Mat &Popula,float opt=0);
69 | GA_TSP& select(cv::Mat &Popula,int _method=0){GA::select(Popula,_method);return *this;}
70 | };
71 | //QGA
72 | class QGA:public GA
73 | {
74 | public:
75 | QGA(const int _chrom_num=80,const int _gene_num=20,
76 | const float _p_recombin=0.3,const float _p_mut=0.2,
77 | const float min=-pi,const float max=pi,const int _para_num=1):
78 | GA(_chrom_num,_gene_num,_p_recombin,_p_mut,min,max,_para_num){}
79 | ~QGA(){}
80 | cv::Mat crtbp(const int &Nind=0,const int &Lind=0);
81 | void bs2rv(cv::Mat &Popula,float min=-pi,float max=pi);//修改编码方式
82 | QGA& select(cv::Mat &Popula);
83 | QGA& recombin(cv::Mat &Popula,const float &opt=0)=delete;
84 | QGA& mut(cv::Mat &Popula,float opt=0)=delete;
85 | };
86 | //PSO
87 | class PSO
88 | {
89 | private:
90 | int chrom_num;//不需要 基因 离子群都为浮点数
91 | int para_num;
92 | float c1;
93 | float c2;
94 | float wmax;
95 | float wmin;
96 | float bmin;
97 | float bmax;
98 | cv::Mat Population;
99 | cv::Mat v;//speed 速度
100 | cv::Mat Pbest;//popula history best 个体历史最有
101 | std::vector Gbest;//globel best 全局最优
102 | std::vector post;
103 | std::vector ost;
104 | float (*fun)(std::vector argv);
105 | public:
106 | PSO(const int _chrom_num=50,const int _para_num=1,
107 | const float min=0,const float max=1,
108 | const float c1=0.8,const float c2=0.8,const float wmax=1.2,
109 | const float wmin=0.1);
110 | ~PSO(){}
111 | void crtbp(const int &_chrom_num=0,const int &_para_num=0);
112 | void solve(float(*_fun)(std::vector argv));
113 | std::pair, float> ranking();
114 | void update(bool para=0);
115 | };
--------------------------------------------------------------------------------
/includes/color.h:
--------------------------------------------------------------------------------
1 | #ifndef CVPLOT_COLOR_H
2 | #define CVPLOT_COLOR_H
3 |
4 | #include
5 |
6 | namespace cvplot {
7 |
8 | struct Color {
9 | uint8_t r, g, b, a;
10 | Color(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255)
11 | : r(r), g(g), b(b), a(a) {}
12 | Color(const uint8_t *rgb, uint8_t a = 255)
13 | : Color(rgb[0], rgb[1], rgb[2], a) {}
14 | Color() : Color(0, 0, 0) {}
15 |
16 | Color alpha(uint8_t alpha) const;
17 | Color gamma(float gamma) const;
18 | float hue() const;
19 |
20 | static Color gray(uint8_t v);
21 | static Color hue(float hue);
22 | static Color cos(float hue);
23 | static Color index(uint8_t index, uint8_t density = 16, float avoid = 2.f,
24 | float range = 2.f);
25 | static Color hash(const std::string &seed);
26 | static Color uniq(const std::string &name);
27 | };
28 |
29 | static const Color Red = Color::hue(0.f);
30 | static const Color Orange = Color::hue(.5f);
31 | static const Color Yellow = Color::hue(1.f);
32 | static const Color Lawn = Color::hue(1.5f);
33 | static const Color Green = Color::hue(2.f);
34 | static const Color Aqua = Color::hue(2.5f);
35 | static const Color Cyan = Color::hue(3.f);
36 | static const Color Sky = Color::hue(3.5f);
37 | static const Color Blue = Color::hue(4.f);
38 | static const Color Purple = Color::hue(4.5f);
39 | static const Color Magenta = Color::hue(5.f);
40 | static const Color Pink = Color::hue(5.5f);
41 | static const Color Black = Color::gray(0);
42 | static const Color Dark = Color::gray(32);
43 | static const Color Gray = Color::gray(128);
44 | static const Color Light = Color::gray(223);
45 | static const Color White = Color::gray(255);
46 |
47 | } // namespace cvplot
48 |
49 | #endif // CVPLOT_COLOR_H
50 |
--------------------------------------------------------------------------------
/includes/cvplot.h:
--------------------------------------------------------------------------------
1 | #ifndef CVPLOT_H
2 | #define CVPLOT_H
3 |
4 | #include "color.h"
5 | #include "figure.h"
6 | #include "highgui.h"
7 | #include "window.h"
8 |
9 | #endif // CVPLOT_H
10 |
--------------------------------------------------------------------------------
/includes/demo.h:
--------------------------------------------------------------------------------
1 | #ifndef _DEMO_H
2 | #define _DEMO_H
3 |
4 | void demo1();//一元函数求解
5 | void demo2();//二元函数求解
6 | void demo3();//BP神经网络结合GA
7 | void demo4();//TSP问题
8 | void demo5();//量子遗传算法
9 | void demo6();//粒子群算法
10 | #endif
--------------------------------------------------------------------------------
/includes/figure.h:
--------------------------------------------------------------------------------
1 | #ifndef CVPLOT_FIGURE_H
2 | #define CVPLOT_FIGURE_H
3 |
4 | #include "color.h"
5 | #include "window.h"
6 |
7 | #include