Commit 544edb66 authored by root's avatar root

add signal handler for detecting status of child process (grapher)

parent d96f7169
This diff is collapsed.
...@@ -10,89 +10,25 @@ set(CMAKE_MAKEFILE_DEPENDS ...@@ -10,89 +10,25 @@ set(CMAKE_MAKEFILE_DEPENDS
"CMakeFiles/3.5.1/CMakeCCompiler.cmake" "CMakeFiles/3.5.1/CMakeCCompiler.cmake"
"CMakeFiles/3.5.1/CMakeCXXCompiler.cmake" "CMakeFiles/3.5.1/CMakeCXXCompiler.cmake"
"CMakeFiles/3.5.1/CMakeSystem.cmake" "CMakeFiles/3.5.1/CMakeSystem.cmake"
"CMakeFiles/feature_tests.c"
"CMakeFiles/feature_tests.cxx"
"CMakeLists.txt" "CMakeLists.txt"
"/usr/share/cmake-3.5/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake-3.5/Modules/CMakeCInformation.cmake" "/usr/share/cmake-3.5/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-3.5/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake-3.5/Modules/CMakeCXXInformation.cmake" "/usr/share/cmake-3.5/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.5/Modules/CMakeCommonLanguageInclude.cmake" "/usr/share/cmake-3.5/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.5/Modules/CMakeCompilerIdDetection.cmake"
"/usr/share/cmake-3.5/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake-3.5/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompileFeatures.cmake"
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake-3.5/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake-3.5/Modules/CMakeGenericSystem.cmake" "/usr/share/cmake-3.5/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.5/Modules/CMakeLanguageInformation.cmake" "/usr/share/cmake-3.5/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.5/Modules/CMakeParseArguments.cmake" "/usr/share/cmake-3.5/Modules/CMakeParseArguments.cmake"
"/usr/share/cmake-3.5/Modules/CMakeParseImplicitLinkInfo.cmake"
"/usr/share/cmake-3.5/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInformation.cmake" "/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInitialize.cmake" "/usr/share/cmake-3.5/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake-3.5/Modules/CMakeTestCompilerCommon.cmake"
"/usr/share/cmake-3.5/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake-3.5/Modules/CPack.cmake" "/usr/share/cmake-3.5/Modules/CPack.cmake"
"/usr/share/cmake-3.5/Modules/CPackComponent.cmake" "/usr/share/cmake-3.5/Modules/CPackComponent.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/GNU-C-FeatureTests.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/GNU-C.cmake" "/usr/share/cmake-3.5/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/GNU-CXX-FeatureTests.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/GNU-CXX.cmake" "/usr/share/cmake-3.5/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/GNU-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/GNU.cmake" "/usr/share/cmake-3.5/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/MIPSpro-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/TI-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.5/Modules/FindBISON.cmake" "/usr/share/cmake-3.5/Modules/FindBISON.cmake"
"/usr/share/cmake-3.5/Modules/FindFLEX.cmake" "/usr/share/cmake-3.5/Modules/FindFLEX.cmake"
"/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake" "/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake"
"/usr/share/cmake-3.5/Modules/FindPackageMessage.cmake" "/usr/share/cmake-3.5/Modules/FindPackageMessage.cmake"
"/usr/share/cmake-3.5/Modules/InstallRequiredSystemLibraries.cmake" "/usr/share/cmake-3.5/Modules/InstallRequiredSystemLibraries.cmake"
"/usr/share/cmake-3.5/Modules/Internal/FeatureTesting.cmake"
"/usr/share/cmake-3.5/Modules/MultiArchCross.cmake"
"/usr/share/cmake-3.5/Modules/Platform/Linux-CXX.cmake"
"/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-C.cmake" "/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-CXX.cmake" "/usr/share/cmake-3.5/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-3.5/Modules/Platform/Linux-GNU.cmake" "/usr/share/cmake-3.5/Modules/Platform/Linux-GNU.cmake"
...@@ -109,11 +45,6 @@ set(CMAKE_MAKEFILE_OUTPUTS ...@@ -109,11 +45,6 @@ set(CMAKE_MAKEFILE_OUTPUTS
# Byproducts of CMake generate step: # Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/3.5.1/CMakeSystem.cmake"
"CMakeFiles/3.5.1/CMakeCCompiler.cmake"
"CMakeFiles/3.5.1/CMakeCXXCompiler.cmake"
"CMakeFiles/3.5.1/CMakeCCompiler.cmake"
"CMakeFiles/3.5.1/CMakeCXXCompiler.cmake"
"CPackConfig.cmake" "CPackConfig.cmake"
"CPackSourceConfig.cmake" "CPackSourceConfig.cmake"
"CMakeFiles/CMakeDirectoryInformation.cmake" "CMakeFiles/CMakeDirectoryInformation.cmake"
......
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
empty
\ No newline at end of file
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/package_source.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/package_source.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/rebuild_cache.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/rebuild_cache.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/package.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/package.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/list_install_components.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install/local.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/libeasea.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/libeasea.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/easea.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/easea.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install/local.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/list_install_components.dir
/home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install/strip.dir /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/install.dir
...@@ -20,68 +20,6 @@ assert.h ...@@ -20,68 +20,6 @@ assert.h
errno.h errno.h
- -
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.cpp
stdio.h
-
string.h
-
errno.h
-
stdlib.h
-
inttypes.h
-
Easea.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h
EaseaParse.hpp
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp
direct.h
-
unistd.h
-
debug.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h
unistd.h
-
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h
EaseaSym.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.cpp
Easea.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h
debug.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h
EaseaYTools.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaYTools.h
EaseaParse.hpp
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp
EaseaSym.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h
EaseaLex.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h
stddef.h
-
libintl.h
-
alloca.h
-
malloc.h
-
stdlib.h
-
stdlib.h
-
stdio.h
-
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp
EaseaSym.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h
EaseaLex.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.cpp /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.cpp
stdio.h stdio.h
- -
......
...@@ -2,20 +2,7 @@ ...@@ -2,20 +2,7 @@
# Generated by "Unix Makefiles" Generator, CMake Version 3.5 # Generated by "Unix Makefiles" Generator, CMake Version 3.5
CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o
/home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.cpp
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o
/home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaLex.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.cpp
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaParse.hpp
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaYTools.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/debug.h
CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o
/home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h /home/anna/Documents/EASEA/GITHUB/easea/compiler/Easea.h
/home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.cpp /home/anna/Documents/EASEA/GITHUB/easea/compiler/EaseaSym.cpp
......
# CMAKE generated file: DO NOT EDIT! # CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.5 # Generated by "Unix Makefiles" Generator, CMake Version 3.5
CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/Easea.h
CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaLex.cpp
CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaLex.h
CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaParse.hpp
CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/EaseaSym.h
CMakeFiles/easea.dir/compiler/EaseaLex.cpp.o: compiler/debug.h
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/Easea.h
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaLex.h
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaParse.cpp
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaParse.hpp
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaSym.h
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/EaseaYTools.h
CMakeFiles/easea.dir/compiler/EaseaParse.cpp.o: compiler/debug.h
CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o: compiler/Easea.h CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o: compiler/Easea.h
CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o: compiler/EaseaSym.cpp CMakeFiles/easea.dir/compiler/EaseaSym.cpp.o: compiler/EaseaSym.cpp
......
...@@ -87,12 +87,18 @@ include/CComUDPLayer.h ...@@ -87,12 +87,18 @@ include/CComUDPLayer.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CComUDPLayer.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CComUDPLayer.h
include/CRandomGenerator.h include/CRandomGenerator.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CRandomGenerator.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CRandomGenerator.h
include/CLogger.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CLogger.h
stdio.h stdio.h
- -
sstream sstream
- -
iostream
-
fstream fstream
- -
sys/wait.h
-
timing.h timing.h
- -
...@@ -338,6 +344,16 @@ iostream ...@@ -338,6 +344,16 @@ iostream
CVariable.h CVariable.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CVariable.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CVariable.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CLogger.h
cstdio
-
stdexcept
-
string
-
vector
-
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/COptionParser.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/COptionParser.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CPopulation.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CPopulation.h
......
...@@ -19,6 +19,7 @@ CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o ...@@ -19,6 +19,7 @@ CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CEvolutionaryAlgorithm.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CEvolutionaryAlgorithm.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CGrapher.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CGrapher.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CIndividual.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CIndividual.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CLogger.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CPopulation.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CPopulation.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CRandomGenerator.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CRandomGenerator.h
/home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CSelectionOperator.h /home/anna/Documents/EASEA/GITHUB/easea/libeasea/include/CSelectionOperator.h
......
...@@ -18,6 +18,7 @@ CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/ ...@@ -18,6 +18,7 @@ CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/
CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CEvolutionaryAlgorithm.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CEvolutionaryAlgorithm.h
CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CGrapher.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CGrapher.h
CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CIndividual.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CIndividual.h
CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CLogger.h
CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CPopulation.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CPopulation.h
CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CRandomGenerator.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CRandomGenerator.h
CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CSelectionOperator.h CMakeFiles/libeasea.dir/libeasea/CEvolutionaryAlgorithm.cpp.o: libeasea/include/CSelectionOperator.h
......
...@@ -100,6 +100,17 @@ package/fast: package ...@@ -100,6 +100,17 @@ package/fast: package
.PHONY : package/fast .PHONY : package/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: install/local
.PHONY : install/local/fast
# Special rule for the target list_install_components # Special rule for the target list_install_components
list_install_components: list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
...@@ -122,28 +133,6 @@ install/fast: preinstall/fast ...@@ -122,28 +133,6 @@ install/fast: preinstall/fast
/usr/bin/cmake -P cmake_install.cmake /usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast .PHONY : install/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: install/local
.PHONY : install/local/fast
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: install/strip
.PHONY : install/strip/fast
# The main all target # The main all target
all: cmake_check_build_system all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/progress.marks $(CMAKE_COMMAND) -E cmake_progress_start /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles /home/anna/Documents/EASEA/GITHUB/easea/CMakeFiles/progress.marks
...@@ -887,12 +876,11 @@ help: ...@@ -887,12 +876,11 @@ help:
@echo "... package_source" @echo "... package_source"
@echo "... rebuild_cache" @echo "... rebuild_cache"
@echo "... package" @echo "... package"
@echo "... list_install_components" @echo "... install/local"
@echo "... install"
@echo "... libeasea" @echo "... libeasea"
@echo "... easea" @echo "... easea"
@echo "... install/local" @echo "... list_install_components"
@echo "... install/strip" @echo "... install"
@echo "... compiler/EaseaLex.o" @echo "... compiler/EaseaLex.o"
@echo "... compiler/EaseaLex.i" @echo "... compiler/EaseaLex.i"
@echo "... compiler/EaseaLex.s" @echo "... compiler/EaseaLex.s"
......
...@@ -33,12 +33,6 @@ if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) ...@@ -33,12 +33,6 @@ if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
endif() endif()
if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
if(EXISTS "$ENV{DESTDIR}/usr/local/easea/bin/easea" AND
NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/easea/bin/easea")
file(RPATH_CHECK
FILE "$ENV{DESTDIR}/usr/local/easea/bin/easea"
RPATH "")
endif()
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
"/usr/local/easea/bin/easea") "/usr/local/easea/bin/easea")
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION) if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
...@@ -48,12 +42,6 @@ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci ...@@ -48,12 +42,6 @@ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}") message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
endif() endif()
file(INSTALL DESTINATION "/usr/local/easea/bin" TYPE EXECUTABLE FILES "/home/anna/Documents/EASEA/GITHUB/easea/easea") file(INSTALL DESTINATION "/usr/local/easea/bin" TYPE EXECUTABLE FILES "/home/anna/Documents/EASEA/GITHUB/easea/easea")
if(EXISTS "$ENV{DESTDIR}/usr/local/easea/bin/easea" AND
NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/easea/bin/easea")
if(CMAKE_INSTALL_DO_STRIP)
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/easea/bin/easea")
endif()
endif()
endif() endif()
if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
......
...@@ -28,9 +28,12 @@ ...@@ -28,9 +28,12 @@
#include "include/global.h" #include "include/global.h"
#include "include/CComUDPLayer.h" #include "include/CComUDPLayer.h"
#include "include/CRandomGenerator.h" #include "include/CRandomGenerator.h"
#include "include/CLogger.h"
#include <stdio.h> #include <stdio.h>
#include <sstream> #include <sstream>
#include <iostream>
#include <fstream> #include <fstream>
#include <sys/wait.h>
//#define INSTRUMENTED //#define INSTRUMENTED
#ifdef INSTRUMENTED #ifdef INSTRUMENTED
...@@ -93,10 +96,39 @@ extern bool INSTEAD_EVAL_STEP; ...@@ -93,10 +96,39 @@ extern bool INSTEAD_EVAL_STEP;
/***** /*****
* REAL CONSTRUCTOR * REAL CONSTRUCTOR
*/ */
sig_atomic_t volatile done = 1;
void childHandler(int signum)
{
pid_t w;
int status;
ostringstream ss;
while((w=waitpid(-1, &status, WNOHANG))>0)
{
if(WIFEXITED(status)){
ss << "Display process catched exiting signal and was stopped" << std::endl;
LOG_MSG(msgType::WARNING, ss.str());
done = 0;
}
else if (WIFSIGNALED(status)){
ss << "Display process catched terminating signal and was stopped" << std::endl;
LOG_MSG(msgType::WARNING, ss.str());
done = 0;
}
else if (WIFSTOPPED(status)){
ss << "Display process catched stopping signal and was stopped" << std::endl;
LOG_MSG(msgType::WARNING, ss.str());
done = 0;
}
}//!WIFEXITED(status) && !WIFSIGNALED(status));
}
CEvolutionaryAlgorithm::CEvolutionaryAlgorithm(Parameters* params){ CEvolutionaryAlgorithm::CEvolutionaryAlgorithm(Parameters* params){
this->params = params; this->params = params;
this->cstats = new CStats(); this->cstats = new CStats();
signal(SIGCHLD, childHandler);
CPopulation::initPopulation(params->selectionOperator,params->replacementOperator,params->parentReductionOperator,params->offspringReductionOperator, CPopulation::initPopulation(params->selectionOperator,params->replacementOperator,params->parentReductionOperator,params->offspringReductionOperator,
params->selectionPressure,params->replacementPressure,params->parentReductionPressure,params->offspringReductionPressure); params->selectionPressure,params->replacementPressure,params->parentReductionPressure,params->offspringReductionPressure);
...@@ -169,10 +201,12 @@ void CEvolutionaryAlgorithm::addStoppingCriterion(CStoppingCriterion* sc){ ...@@ -169,10 +201,12 @@ void CEvolutionaryAlgorithm::addStoppingCriterion(CStoppingCriterion* sc){
/* MAIN FUNCTION TO RUN THE EVOLUTIONARY LOOP */ /* MAIN FUNCTION TO RUN THE EVOLUTIONARY LOOP */
void CEvolutionaryAlgorithm::runEvolutionaryLoop(){ void CEvolutionaryAlgorithm::runEvolutionaryLoop(){
CIndividual** elitistPopulation = NULL; CIndividual** elitistPopulation = NULL;
#ifdef WIN32 #ifdef WIN32
clock_t begin(clock()); clock_t begin(clock());
#else #else
struct timeval begin; struct timeval begin;
gettimeofday(&begin,0); gettimeofday(&begin,0);
#endif #endif
...@@ -229,6 +263,11 @@ void CEvolutionaryAlgorithm::runEvolutionaryLoop(){ ...@@ -229,6 +263,11 @@ void CEvolutionaryAlgorithm::runEvolutionaryLoop(){
while( this->allCriteria() == false){ while( this->allCriteria() == false){
EASEABeginningGenerationFunction(this); EASEABeginningGenerationFunction(this);
if (done == 0){
delete this->grapher;
this->params->plotStats = 0;
done = 1;
}
// Sending individuals if remote island model // Sending individuals if remote island model
if(params->remoteIslandModel && this->numberOfClients>0) if(params->remoteIslandModel && this->numberOfClients>0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment