.. _program_listing_file_src_sparsebase_partition_partitioner.cc: Program Listing for File partitioner.cc ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``src/sparsebase/partition/partitioner.cc``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #include "sparsebase/partition/partitioner.h" #include #include "sparsebase/format/array.h" #include "sparsebase/format/coo.h" #include "sparsebase/format/csc.h" #include "sparsebase/format/csr.h" #include "sparsebase/format/format.h" #include "sparsebase/format/format_order_one.h" #include "sparsebase/format/format_order_two.h" #include "sparsebase/utils/extractable.h" #include "sparsebase/utils/parameterizable.h" namespace sparsebase::partition { template Partitioner::Partitioner() = default; template IDType *Partitioner::Partition(format::Format *format, std::vector contexts, bool convert_input) { return this->Execute(this->params_.get(), contexts, convert_input, format); } template IDType *Partitioner::Partition(format::Format *format, utils::Parameters *params, std::vector contexts, bool convert_input) { return this->Execute(params, contexts, convert_input, format); } template Partitioner::~Partitioner() = default; #if !defined(_HEADER_ONLY) #include "init/partitioner.inc" #endif } // namespace sparsebase::partition