include/utilities/types.h
author Dmitriy Morozov <morozov@cs.duke.edu>
Thu, 27 Dec 2007 00:00:00 -0500
changeset 43 0f970f454094
parent 25 25ae830bdcc7
child 97 0a9bd3f34419
permissions -rw-r--r--
Added initial Avida code (computes 0-dimensional persistence of the hamming distance function)

#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__