From 49223e605dd738fef4350a85fee49435935ef1c3 Mon Sep 17 00:00:00 2001 From: "jan.reininghaus" Date: Tue, 6 May 2014 09:17:02 +0000 Subject: nicer latex output for benchmark.cpp git-svn-id: https://phat.googlecode.com/svn/trunk@171 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- src/benchmark.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/benchmark.cpp b/src/benchmark.cpp index c40a8fe..a2eb78a 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -99,14 +99,14 @@ void parse_command_line( int argc, char** argv, bool& latex_tables_output, bool& } if( representations.empty() == true ) { + representations.push_back( VECTOR_LIST ); representations.push_back( VECTOR_VECTOR ); - representations.push_back( VECTOR_HEAP ); representations.push_back( VECTOR_SET ); - representations.push_back( VECTOR_LIST ); + representations.push_back( VECTOR_HEAP ); + representations.push_back( HEAP_PIVOT_COLUMN ); + representations.push_back( SPARSE_PIVOT_COLUMN ); representations.push_back( FULL_PIVOT_COLUMN ); representations.push_back( BIT_TREE_PIVOT_COLUMN ); - representations.push_back( SPARSE_PIVOT_COLUMN ); - representations.push_back( HEAP_PIVOT_COLUMN ); } if( algorithms.empty() == true ) { @@ -267,14 +267,14 @@ int main( int argc, char** argv ) for( int idx_representation = 0; idx_representation < representations.size( ); idx_representation++ ) { Representation_type representation = representations[ idx_representation ]; switch( representation ) { - case VECTOR_VECTOR: std::cout << "&& V "; break; - case VECTOR_HEAP: std::cout << "&& H "; break; - case VECTOR_SET: std::cout << "&& S "; break; - case VECTOR_LIST: std::cout << "&& L "; break; - case FULL_PIVOT_COLUMN: std::cout << "&& P-F "; break; - case BIT_TREE_PIVOT_COLUMN: std::cout << "&& P-BT "; break; - case SPARSE_PIVOT_COLUMN: std::cout << "&& P-S "; break; - case HEAP_PIVOT_COLUMN: std::cout << "&& P-H "; break; + case VECTOR_VECTOR: std::cout << "&& Vector "; break; + case VECTOR_HEAP: std::cout << "&& Heap "; break; + case VECTOR_SET: std::cout << "&& Set "; break; + case VECTOR_LIST: std::cout << "&& List "; break; + case FULL_PIVOT_COLUMN: std::cout << "&& P-Full "; break; + case BIT_TREE_PIVOT_COLUMN: std::cout << "&& P-Bit-Tree "; break; + case SPARSE_PIVOT_COLUMN: std::cout << "&& P-Set "; break; + case HEAP_PIVOT_COLUMN: std::cout << "&& P-Heap "; break; } } std::cout << "\\\\" << std::endl; -- cgit v1.2.3