Hitmap 1.3
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Data Fields
HitSig Struct Reference

#include <hit_sig.h>

Data Fields

int begin
 
int end
 
int stride
 

Detailed Description

ADT for signatures of an index domain dimension.

A signature defines a subset of Z. A 1-dimensional domain signature is a triplet of three integer values [begin:end:stride]. They identify the first and last valid indexes in that domain (begin, end), and also a stride value, that indicates indexes at regular intervals, starting at the begin index.

The cardinality of a signature is the number of valid indexes in that domain. An end value lesser than begin indicates and empty domain.

Hitmap supports two systems of coordinates for domains.

Thus, in a new declared domain both coordinates systems have the same indexes. But in a subdomain declared as a selection of another domain, the tile coordinates are a renumbering the original indexes starting at zero and ignoring strides.

Member functions are documented in hit_sig.h.

Definition at line 79 of file hit_sig.h.

Field Documentation

int begin

The begin index of the dimension

Definition at line 80 of file hit_sig.h.

int end

The end index of the dimension

Definition at line 81 of file hit_sig.h.

int stride

The stride for regular sparse domains

Definition at line 82 of file hit_sig.h.


The documentation for this struct was generated from the following file: