summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-05-05 13:22:55 +0000
committerjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-05-05 13:22:55 +0000
commit92ddd1feed9794eaa44feb0c65842dd58c03ae3e (patch)
tree17f50b427f36c0236cec958ab850c1f26e75516c
parentdf8ffc7c0bcc808afd48cc1e9ff7adb3fdb6a1e0 (diff)
sanitize latex caption in benchmark.cpp and include spectral_sequence_reduction in default set of algorithms
git-svn-id: https://phat.googlecode.com/svn/trunk@169 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
-rw-r--r--src/benchmark.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/benchmark.cpp b/src/benchmark.cpp
index e393fef..c6ff24a 100644
--- a/src/benchmark.cpp
+++ b/src/benchmark.cpp
@@ -114,7 +114,8 @@ void parse_command_line( int argc, char** argv, bool& latex_tables_output, bool&
algorithms.push_back( TWIST );
algorithms.push_back( ROW );
algorithms.push_back( CHUNK );
- algorithms.push_back( CHUNK_SEQUENTIAL );
+ algorithms.push_back( SPECTRAL_SEQUENCE );
+ // algorithms.push_back( CHUNK_SEQUENTIAL );
}
if( ansaetze.empty() == true ) {
@@ -313,8 +314,10 @@ int main( int argc, char** argv )
std::cout << "\\end{tabular}" << std::endl;
std::cout << "\\end{center}" << std::endl;
- std::cout << "\\caption{ " << input_filename << " }" << std::endl;
- std::cout << "\\label{ phat: " << input_filename << " }" << std::endl;
+ std::string sanitized_input_filename( input_filename );
+ std::replace( sanitized_input_filename.begin( ), sanitized_input_filename.end( ), '_', '-' );
+ std::cout << "\\caption{ " << sanitized_input_filename << " }" << std::endl;
+ std::cout << "\\label{ phat: " << sanitized_input_filename << " }" << std::endl;
std::cout << "\\end{table}" << std::endl << std::endl;
}
}