tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
coordinate.c File Reference
#include <math.h>
#include <stdlib.h>
#include "coordinate.h"
#include "pair.h"
#include "tm.h"
#include "types.h"
Include dependency graph for coordinate.c:

Functions

coordinate_tcoordinate_alloc (long x, long y, long z)
 
void coordinate_free (coordinate_t *coordinatePtr)
 
bool_t coordinate_isEqual (coordinate_t *aPtr, coordinate_t *bPtr)
 
static double getPairDistance (pair_t *pairPtr)
 
long coordinate_comparePair (const void *aPtr, const void *bPtr)
 
bool_t coordinate_areAdjacent (coordinate_t *aPtr, coordinate_t *bPtr)
 

Function Documentation

coordinate_t* coordinate_alloc ( long  x,
long  y,
long  z 
)

Here is the caller graph for this function:

bool_t coordinate_areAdjacent ( coordinate_t aPtr,
coordinate_t bPtr 
)

Here is the caller graph for this function:

long coordinate_comparePair ( const void *  aPtr,
const void *  bPtr 
)

Here is the call graph for this function:

void coordinate_free ( coordinate_t coordinatePtr)
bool_t coordinate_isEqual ( coordinate_t aPtr,
coordinate_t bPtr 
)

Here is the caller graph for this function:

static double getPairDistance ( pair_t pairPtr)
static

Here is the caller graph for this function: