summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-05-06 09:17:02 +0000
committerjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-05-06 09:17:02 +0000
commit49223e605dd738fef4350a85fee49435935ef1c3 (patch)
treebd1eaffbffcc911c89892e2a18c98918ec25c10a
parent9addb98a9b27147accea8df71bc9f618c4e0d938 (diff)
nicer latex output for benchmark.cpp
git-svn-id: https://phat.googlecode.com/svn/trunk@171 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
-rw-r--r--src/benchmark.cpp24
1 files 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;