Main Page | Modules | Class List | File List | Class Members | File Members

atlas.h File Reference

Go to the source code of this file.

Defines

#define ATLAS_API   __declspec(dllimport)
#define AT_SUCCESS   0
 Create and maintain a graph and find shortest paths.
#define AT_ILLEGAL_VALUE   -1
#define AT_EDGE_ALREADY_EXISTS   -2
#define AT_NO_PATH_FOUND   -3
#define AT_NO_SUCH_VERTEX   -4
#define AT_NO_SUCH_EDGE   -5
#define AT_GRAPH_DIRECTED   -6
#define AT_NEED_RECALCULATION   -7

Typedefs

typedef float AT_scalar
typedef AT_scalar(* AT_CalculateDistanceCallbackType )(int vID0, int vID1, void *userDef)
typedef AT_scalar(* AT_AstarHeuristicCallbackType )(int vID0, int vID1, void *userDef)


Detailed Description


Define Documentation

#define AT_SUCCESS   0
 

Create and maintain a graph and find shortest paths.

The function was succesful.

#define AT_ILLEGAL_VALUE   -1
 

You provided an illegal value for one or more of the parameters.

#define AT_EDGE_ALREADY_EXISTS   -2
 

You try to add an edge that already exists.

#define AT_NO_PATH_FOUND   -3
 

The query did not yield a path.

#define AT_NO_SUCH_VERTEX   -4
 

The vertex ID does not exist.

#define AT_NO_SUCH_EDGE   -5
 

The edge does not exist.

#define AT_GRAPH_DIRECTED   -6
 

The operation you try to perform is only valid on undirected graphs.

#define AT_NEED_RECALCULATION   -7
 

You changed the graph and need to recalculate the shortest paths before querying.


Typedef Documentation

typedef float AT_scalar
 

Use floats or doubles in Atlas?

typedef AT_scalar(* AT_CalculateDistanceCallbackType)(int vID0, int vID1, void *userDef)
 

Callback function type for distance calculation.


Generated on Mon Jun 19 14:48:51 2006 for Atlas 1.3 by  doxygen 1.4.2