src/cellular_level/HouseCell.java
@Override
	public List<Cell> update(CellData data) {
		ArrayList<Cell> nextGen = new ArrayList<Cell>();
		double percentSame = percentSame(data);
		if(!isSatisfied(percentSame)){
			relocate(data, nextGen);
		}
		else{
			stayInPlace(nextGen);
		}
		return nextGen;
	}
/**
	 * Update method for "people" in segregation simulation (HouseCells)
	 * @param data CellData object holding information for HouseCell use
	 * @return ArrayList of next generation Cells, either contains the current Cell in the
	 * same location, or the current Cell in a new location (if it was not satisfied)
	 */
Update method for "people" in segregation simulation (HouseCells)
@param data CellData object holding information for HouseCell use
@return ArrayList of next generation Cells, either contains the current Cell in the
same location, or the current Cell in a new location (if it was not satisfied)
Update method for " people " in segregation simulation ( HouseCells ) @param data CellData object holding information for HouseCell use @return ArrayList of next generation Cells either contains the current Cell in the same location or the current Cell in a new location ( if it was not satisfied )
@Override
	public List<Cell> update(CellData data) {
		ArrayList<Cell> nextGen = new ArrayList<Cell>();
		double percentSame = percentSame(data);
		if(!isSatisfied(percentSame)){
			relocate(data, nextGen);
		}
		else{
			stayInPlace(nextGen);
		}
		return nextGen;
	}
@ Override public List < Cell > update ( CellData data ) { ArrayList < Cell > nextGen = new ArrayList < Cell > ( ) ; double percentSame = percentSame ( data ) ; if ( ! isSatisfied ( percentSame ) ) { relocate ( data , nextGen ) ; } else { stayInPlace ( nextGen ) ; } return nextGen ; }
Update method for "people" in segregation simulation (HouseCells)
 @param data CellData object holding information for HouseCell use
 @return ArrayList of next generation Cells, either contains the current Cell in the
 same location, or the current Cell in a new location (if it was not satisfied)
Update method for " people " in segregation simulation ( HouseCells ) @param data CellData object holding information for HouseCell use @return ArrayList of next generation Cells either contains the current Cell in the same location or the current Cell in a new location ( if it was not satisfied )