From e9800d103fcdd19f0417e89781761f7f85d8ec9b Mon Sep 17 00:00:00 2001 From: Michael Kerber Date: Fri, 18 May 2018 10:52:51 +0200 Subject: Column types are separated, and the matrix representation is more general in its container type --- .../phat/representations/default_representations.h | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 include/phat/representations/default_representations.h (limited to 'include/phat/representations/default_representations.h') diff --git a/include/phat/representations/default_representations.h b/include/phat/representations/default_representations.h new file mode 100644 index 0000000..a0f618f --- /dev/null +++ b/include/phat/representations/default_representations.h @@ -0,0 +1,47 @@ +/* Copyright 2013 IST Austria + Contributed by: Ulrich Bauer, Michael Kerber, Jan Reininghaus + + This file is part of PHAT. + + PHAT is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + PHAT is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with PHAT. If not, see . */ + +#pragma once + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace phat { + + // typedef Uniform_representation< std::unordered_map, std::unordered_map > hash_vector; + typedef Uniform_representation< std::vector, std::vector > vector_vector; + typedef Uniform_representation< std::vector, std::vector > vector_set; + typedef Uniform_representation< std::vector, std::vector > vector_heap; + typedef Uniform_representation< std::vector, std::vector > vector_list; + typedef Pivot_representation< vector_vector, full_column > full_pivot_column; + typedef Pivot_representation< vector_vector, heap_column > heap_pivot_column; + typedef Pivot_representation< vector_vector, sparse_column > sparse_pivot_column; + typedef Pivot_representation< vector_vector, bit_tree_column > bit_tree_pivot_column; + +} -- cgit v1.2.3