movementCache_1_c Class Reference

movement cache for the triangle grid More...

#include <movementcache_1.h>

Inheritance diagram for movementCache_1_c:

Inheritance graph
[legend]
Collaboration diagram for movementCache_1_c:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 movementCache_1_c (const problem_c *puz)

Private Member Functions

unsigned int * moCalcValues (const voxel_c *sh1, const voxel_c *sh2, int dx, int dy, int dz)
 when the entry is not inside the table, this function calculates the values for the movement info
unsigned int numDirections (void)
 return the number of different directions of movement that are possible within the space grid that that movement cache is for
void getDirection (unsigned int dir, int *x, int *y, int *z)
 return the movement vector of the given direction
 movementCache_1_c (const movementCache_1_c &)
void operator= (const movementCache_1_c &)


Detailed Description

movement cache for the triangle grid

Constructor & Destructor Documentation

movementCache_1_c::movementCache_1_c ( const problem_c puz  ) 

movementCache_1_c::movementCache_1_c ( const movementCache_1_c  )  [private]


Member Function Documentation

void movementCache_1_c::getDirection ( unsigned int  dir,
int *  x,
int *  y,
int *  z 
) [private, virtual]

return the movement vector of the given direction

Implements movementCache_c.

References bt_assert, dirs, and NUM_DIRECTIONS.

unsigned int * movementCache_1_c::moCalcValues ( const voxel_c sh1,
const voxel_c sh2,
int  dx,
int  dy,
int  dz 
) [private, virtual]

unsigned int movementCache_1_c::numDirections ( void   )  [private, virtual]

return the number of different directions of movement that are possible within the space grid that that movement cache is for

Implements movementCache_c.

References NUM_DIRECTIONS.

void movementCache_1_c::operator= ( const movementCache_1_c  )  [private]


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

Generated on Sun Oct 10 10:02:59 2010 for BurrTools by  doxygen 1.5.8