package neuralnets;


/**
 *Dustin Stevens-Baier
 *
 *original code by Vania Sarieva modified and fine tuned by Dustin
 * 
 * City contains some random city coordinates. The city is defined
 * within a unit square, where x and y are between 0 and 1.
 */

public class City3 
{
	private double xCoord;
	private double yCoord;
	
	public City3()
	{
		// Create random unit spaced cities
		xCoord = Math.random();
		yCoord = Math.random();
	}
	
	public City3(int xCoord, int yCoord)
	{
		this.xCoord = xCoord;
		this.yCoord = yCoord;
	}
	
	public double getXCoord()
	{
		return xCoord;
	}
	
	public double getYCoord()
	{
		return yCoord;
	}

}
