/*
 * constants.h
 *
 *  Created on: Nov 23, 2009
 *      Author: brian
 */

//Define this to enable migration
//Leaving this undefined reverts the GA to a parallel GA
#define MIGRATE

//Define this to enable directed migration
#ifdef MIGRATE
	#define DIRMIG
#endif
//Define this to enable the mutation gradient
#define MUTGRAD

//Probability of Mutation.  This is affected by defining MUTGRAD.  The average mutation
//rate will be equal to P_MUTATE / 2 for all populations.
#define P_MUTATE .1

#define LANDSCAPE_WIDTH 4
#define LANDSCAPE_HEIGHT 4
#define BUFFSIZE 256

#define PI 3.14159265

//Population put on each process
#define POPSIZE 256

//Number of vertices in the graph
#define N_VERTICES 20

//MPI Message Tags
#define CONTINUE_TAG 0
#define STATUS_TAG 1
#define TRAVELER_TAG 2
#define BEST_TAG 3



#define ADJFILE "/home/brian/Distgen/adj20.txt"

#define LEFT	0
#define RIGHT	1
#define UP		2
#define DOWN	3


#ifndef CONSTANTS_H_
#define CONSTANTS_H_


#endif /* CONSTANTS_H_ */


