include/utilities/types.h
author Dmitriy Morozov <morozov@cs.duke.edu>
Mon, 25 Feb 2008 04:37:49 -0500
branchar
changeset 68 8f2610103946
parent 25 25ae830bdcc7
child 97 0a9bd3f34419
permissions -rw-r--r--
Initial commit of KineticSort-based ARVineyard Compiles, but needs to be runtime debugged.

#ifndef __TYPES_H__
#define __TYPES_H__

#include <limits>

/* Types */
typedef 	bool					Sign;
typedef		unsigned short int		Dimension;
const 		Sign	 				POS = true;
const 		Sign					NEG = false;
typedef		double					RealType;
typedef		unsigned int			SizeType;

static RealType Infinity = std::numeric_limits<RealType>::infinity();

typedef 	const unsigned int&		version_type;

#endif // __TYPES_H__