fixed some small bugus
This commit is contained in:
@@ -66,8 +66,9 @@ else()
|
|||||||
-fstack-protector-all
|
-fstack-protector-all
|
||||||
|
|
||||||
-g3
|
-g3
|
||||||
#-O2
|
-O2
|
||||||
-march=native
|
-march=native
|
||||||
|
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -97,6 +98,7 @@ ADD_EXECUTABLE(
|
|||||||
# needed external libraries
|
# needed external libraries
|
||||||
TARGET_LINK_LIBRARIES(
|
TARGET_LINK_LIBRARIES(
|
||||||
${PROJECT_NAME}
|
${PROJECT_NAME}
|
||||||
|
stdc++fs
|
||||||
# gtest
|
# gtest
|
||||||
# pthread
|
# pthread
|
||||||
)
|
)
|
||||||
|
|||||||
8
main.cpp
8
main.cpp
@@ -241,12 +241,12 @@ Stats::Statistics<float> run(Settings::DataSetup setup, int numFile, std::string
|
|||||||
|
|
||||||
/* plot in gp file */
|
/* plot in gp file */
|
||||||
std::ofstream plotFile;
|
std::ofstream plotFile;
|
||||||
plotFile.open(evalDir + "/" + std::to_string(numFile) + "_" + std::to_string(t) + ".gp");
|
plotFile.open(evalDir.string() + "/" + std::to_string(numFile) + "_" + std::to_string(t) + ".gp");
|
||||||
plot.saveToFile(plotFile);
|
plot.saveToFile(plotFile);
|
||||||
plotFile.close();
|
plotFile.close();
|
||||||
|
|
||||||
//save also a png image, just for a better overview
|
//save also a png image, just for a better overview
|
||||||
plot.printOverview(evalDir + "/" + std::to_string(numFile) + "_" + std::to_string(t));
|
plot.printOverview(evalDir.string() + "/" + std::to_string(numFile) + "_" + std::to_string(t));
|
||||||
plot.plot();
|
plot.plot();
|
||||||
|
|
||||||
return errorStats;
|
return errorStats;
|
||||||
@@ -260,9 +260,9 @@ int main(int argc, char** argv) {
|
|||||||
Stats::Statistics<float> statsQuantil;
|
Stats::Statistics<float> statsQuantil;
|
||||||
Stats::Statistics<float> tmp;
|
Stats::Statistics<float> tmp;
|
||||||
|
|
||||||
std::string evaluationName = "museum/Path3_Museum_KLD_SimpleDistance";
|
std::string evaluationName = "museum/tmp";
|
||||||
|
|
||||||
for(int i = 0; i < 100; ++i){
|
for(int i = 0; i < 1; ++i){
|
||||||
|
|
||||||
//TODO: in transition die distance über KLD noch einkommentieren als Test
|
//TODO: in transition die distance über KLD noch einkommentieren als Test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user