24#ifndef _R_DIRTILING_HH_
25#define _R_DIRTILING_HH_
62 const std::vector<r_Dir_Decompose> &decomp,
This class implements the "Directional Tiling" tiling method.
Definition dirtiling.hh:45
static const char * description
Definition dirtiling.hh:99
static const char * get_name_from_subtiling(SubTiling st)
Get a tilisize limit name for a tilesize limit.
r_Tiling * clone() const override
This method provides the core funcionality of this class.
SubTiling sub_tile
If sub-tiling should occour.
Definition dirtiling.hh:106
static const char * subtiling_name_withoutsubtiling
The names of all subtiling types, to avoid redundant storage and inconsistencies.
Definition dirtiling.hh:116
SubTiling
Constants that specify if subtiling will occur inside the blocks.
Definition dirtiling.hh:51
@ NUMBER
Definition dirtiling.hh:54
@ WITH_SUBTILING
Definition dirtiling.hh:53
@ WITHOUT_SUBTILING
Definition dirtiling.hh:52
~r_Dir_Tiling() override=default
The user has to give the number of dimensions of the space and the decomposition wanted for that spac...
std::vector< r_Minterval > compute_tiles(const r_Minterval &obj_domain, r_Bytes cell_size) const override
Decompose an object in tiles.
static r_Dir_Tiling::SubTiling get_subtiling_from_name(const char *name)
Get a tilesize limit for a tilisize limit name.
static const char * subtiling_name_withsubtiling
Definition dirtiling.hh:117
r_Tiling_Scheme get_tiling_scheme() const override
This method is similar to a copy constructor, this is, is returns a copy of the current object.
std::vector< r_Dir_Decompose > dim_decomp
The decomposition to be used.
Definition dirtiling.hh:103
bool is_compatible(const r_Minterval &obj_domain, r_Bytes type_len) const override
returns true if the cellTypeSize is smaller or equal to the tile size and the dimension fits the obj_...
static const char * all_subtiling_names[r_Dir_Tiling::NUMBER]
Definition dirtiling.hh:119
void print_status(std::ostream &os) const override
Prints the current status of the object.
r_Dir_Tiling(const char *encoded)
read everything from encoded string e.g.
r_Dir_Tiling(r_Dimension dims, const std::vector< r_Dir_Decompose > &decomp, r_Bytes ts=r_Tiling::defaultTileSize, SubTiling sub=WITH_SUBTILING)
Class constructor.
The spatial domain of an MDD is represented by an object of class r_Minterval.
Definition minterval.hh:226
The r_Tiling class is used to specify in which way the tiling is done by the system.
Definition tiling.hh:53
static const r_Bytes defaultTileSize
Definition tiling.hh:92
std::uint32_t r_Dimension
number of dimensions in r_Point and r_Minterval.
Definition mddtypes.hh:56
size_t r_Bytes
number of bytes in an tile or mdd or type.
Definition mddtypes.hh:43
r_Tiling_Scheme
Tiling of the object:
Definition mddtypes.hh:317