Hitmap 1.3
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Public Member Functions
HitGBTile Struct Reference

#include <hit_tile.h>

Inheritance diagram for HitGBTile:
Inheritance graph
[legend]
Collaboration diagram for HitGBTile:
Collaboration graph
[legend]

Public Member Functions

#define hit_gbTileDomainShape(newVarP, baseType, shape, allocOpts)   hit_gbTileDomainShapeInternal(newVarP, sizeof(baseType), shape, allocOpts)
 
void hit_gbTileDomainShapeInternal (void *newVarP, size_t baseExtent, HitShape shape, int allocOpts)
 
#define hit_gbTileAlloc(var)   hit_gbTileAllocInternal(var, #var, __FILE__, __LINE__)
 
void hit_gbTileAllocInternal (void *newVarP, const char *name, const char *file, int numLine)
 
#define hit_gbTileDomainShapeAlloc(var, baseType, shape, allocOpts)
 
int hit_gbTileGraphVertexAtIndex (void *varP, int vertex)
 
static int hit_gbTileEdgeAtIndex (void *varP, int local1, int local2)
 
int hit_gbTileGraphEdgeAtIndex (void *varP, int pos1, int pos2)
 
#define hit_gbTileVertexAt(var, vertex)   ((var).dataVertices[vertex])
 
#define hit_gbTileEdgeAt(var, pos1, pos2)   ((var).data[hit_gbTileEdgeAtIndex(&(var),(pos1),(pos2))])
 
#define hit_gbTileGraphVertexAt(var, vertex)   ((var).dataVertices[hit_gbTileGraphVertexAtIndex(&(var),(vertex))])
 
#define hit_gbTileGraphEdgeAt(var, pos1, pos2)   ((var).data[hit_gbTileGraphEdgeAtIndex(&(var),(pos1),(pos2))])
 
#define hit_gbTileEdgeIteratorAt(var, vertex, edge_index)   ((var).data[vertex * hit_bShapeNvertices(hit_tileShape(var)) + edge_index])
 
void hit_gbTileClearVertices (void *varP)
 
void hit_gbTileCopyVertices (void *destP, void *srcP)
 

Detailed Description

Class of HitTile to implement Graphs using Bitmap sparse data format.

Member Function Documentation

void hit_gbTileAllocInternal ( void *  newVarP,
const char *  name,
const char *  file,
int  numLine 
)

Allocate a previously declared gcTile.

Definition at line 78 of file hit_gbtile.c.

void hit_gbTileClearVertices ( void *  varP)

Clears the values of the vertices.

Parameters
varPA tile.

Definition at line 146 of file hit_gbtile.c.

Here is the caller graph for this function:

void hit_gbTileCopyVertices ( void *  destP,
void *  srcP 
)

Copies the values from a tile to the other.

Parameters
destPDestination tile.
srcPSoruce tile

Definition at line 159 of file hit_gbtile.c.

Here is the caller graph for this function:

void hit_gbTileDomainShapeInternal ( void *  newVarP,
size_t  baseExtent,
HitShape  shape,
int  allocOpts 
)

Declares the shape and base type of a new sparse domain.

Definition at line 49 of file hit_gbtile.c.

static int hit_gbTileEdgeAtIndex ( void *  varP,
int  local1,
int  local2 
)
inline

Gets the index of a sparse element in local coordinates.

Parameters
varThe tile pointer.
local1The first coordinate.
local2The second coordinate.
Returns
The index element.

Definition at line 123 of file hit_gbtile.h.

int hit_gbTileGraphEdgeAtIndex ( void *  varP,
int  pos1,
int  pos2 
)
inline

Gets the index of a sparse element in graph coordinates.

Parameters
varThe tile pointer.
pos1The first coordinate.
pos2The second coordinate.
Returns
The index element.

Definition at line 128 of file hit_gbtile.c.

int hit_gbTileGraphVertexAtIndex ( void *  varP,
int  vertex 
)
inline

Gets the index of a sparse vertex in graph coordinates.

Parameters
varThe tile pointer.
vertexThe vertex coordinate.
Returns
The index element.

Definition at line 113 of file hit_gbtile.c.


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