KDTree.c
/**
 * 	Returns an (assumed by C random implementation) uniformly distributed integer
 * 	between min and max. Each time the function is called a new seed is generated.
 * 	Only one call to this function during SPCBIR execution so no checks are needed.
 *
 *  @param min	minimum of range
 *  @param max	maximum of range
 *  @return
 *  The random integer generated.
 */
Returns an (assumed by C random implementation) uniformly distributed integer
between min and max. Each time the function is called a new seed is generated.
Only one call to this function during SPCBIR execution so no checks are needed.

@param min  minimum of range
@param max  maximum of range
@return
The random integer generated.
Returns an ( assumed by C random implementation ) uniformly distributed integer between min and max . Each time the function is called a new seed is generated . Only one call to this function during SPCBIR execution so no checks are needed . @param min minimum of range @param max maximum of range @return The random integer generated .
int randomInRange(int min, int max) {
	srand(time(NULL));	
	int range = max - min + 1;
	return (rand() % range) + min;
}
int randomInRange ( int min , int max ) { srand ( time ( NULL ) ) ; int range = max - min + 1 ; return ( rand ( ) % range ) + min ; }
Returns an (assumed by C random implementation) uniformly distributed integer
      between min and max.
Returns an ( assumed by C random implementation ) uniformly distributed integer between min and max .
// Intializes random number generator
