diff options
author | Gard Spreemann <gspr@nonempty.org> | 2020-08-27 12:35:45 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2020-08-27 12:35:45 +0200 |
commit | 0356915f2d3e4f41b1993fc4688f07431506f610 (patch) | |
tree | 6eecbae2c86e57948d94f76460929c1793c3813e /include/phat/representations/default_representations.h | |
parent | a378599c297e61be6543079945819e8da9d55b38 (diff) | |
parent | 746517263955660b5a0a0f4defc18f2d2d84f502 (diff) |
Merge tag 'v1.6' into debian/sid
Added tag v1.6 for changeset 746517263955
Diffstat (limited to 'include/phat/representations/default_representations.h')
-rw-r--r-- | include/phat/representations/default_representations.h | 47 |
1 files changed, 47 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */ + +#pragma once + +#include <phat/helpers/misc.h> +#include <phat/representations/Uniform_representation.h> +#include <phat/representations/Pivot_representation.h> + +#include <phat/representations/sparse_pivot_column.h> +#include <phat/representations/full_pivot_column.h> +#include <phat/representations/heap_pivot_column.h> +#include <phat/representations/bit_tree_pivot_column.h> +#include <phat/representations/vector_column_rep.h> +#include <phat/representations/list_column_rep.h> +#include <phat/representations/set_column_rep.h> +#include <phat/representations/heap_column_rep.h> + + +namespace phat { + + // typedef Uniform_representation< std::unordered_map<index,phat::vector_column_rep>, std::unordered_map<index,index> > hash_vector; + typedef Uniform_representation< std::vector<phat::vector_column_rep>, std::vector<index> > vector_vector; + typedef Uniform_representation< std::vector<phat::set_column_rep>, std::vector<index> > vector_set; + typedef Uniform_representation< std::vector<phat::heap_column_rep>, std::vector<index> > vector_heap; + typedef Uniform_representation< std::vector<phat::list_column_rep>, std::vector<index> > 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; + +} |