// Path: src/edu/boun/edgecloudsim/utils/Location.java
// public class Location {
// 	private int xPos;
// 	private int yPos;
// 	private int servingWlanId;
// 	private int placeTypeIndex;
// 	public Location(int _placeTypeIndex, int _servingWlanId, int _xPos, int _yPos){
// 		servingWlanId = _servingWlanId;
// 		placeTypeIndex=_placeTypeIndex;
// 		xPos = _xPos;
// 		yPos = _yPos;
// 	}
// 	
// 	/*
// 	 * Default Constructor: Creates an empty Location
// 	 */
// 	public Location() {
// 	}
// 	
// 	@Override
// 	public boolean equals(Object other){
// 		boolean result = false;
// 	    if (other == null) return false;
// 	    if (!(other instanceof Location))return false;
// 	    if (other == this) return true;
// 	    
// 	    Location otherLocation = (Location)other;
// 	    if(this.xPos == otherLocation.xPos && this.yPos == otherLocation.yPos)
// 	    	result = true;
// 
// 	    return result;
// 	}
// 
// 	public int getServingWlanId(){
// 		return servingWlanId;
// 	}
// 	
// 	public int getPlaceTypeIndex(){
// 		return placeTypeIndex;
// 	}
// 	
// 	public int getXPos(){
// 		return xPos;
// 	}
// 	
// 	public int getYPos(){
// 		return yPos;
// 	}
// }


import edu.boun.edgecloudsim.utils.Location;
import org.cloudbus.cloudsim.Cloudlet;
import org.cloudbus.cloudsim.UtilizationModel;
import org.cloudbus.cloudsim.core.CloudSim;

		
		mobileDeviceId = _mobileDeviceId;
		creationTime = CloudSim.clock();
	}

	
	public void setSubmittedLocation(Location _submittedLocation){
		submittedLocation =_submittedLocation;
	}

	public void setAssociatedDatacenterId(int _datacenterId){
		datacenterId=_datacenterId;
	}
	
	public void setAssociatedHostId(int _hostIndex){
		hostIndex=_hostIndex;
	}

	public void setAssociatedVmId(int _vmIndex){
		vmIndex=_vmIndex;
	}
	
	public void setTaskType(int _type){
		type=_type;
	}

	public int getMobileDeviceId(){
		return mobileDeviceId;
	}
	

// Path: src/edu/boun/edgecloudsim/utils/Location.java
// public class Location {
// 	private int xPos;
// 	private int yPos;
// 	private int servingWlanId;
// 	private int placeTypeIndex;
// 	public Location(int _placeTypeIndex, int _servingWlanId, int _xPos, int _yPos){
// 		servingWlanId = _servingWlanId;
// 		placeTypeIndex=_placeTypeIndex;
// 		xPos = _xPos;
// 		yPos = _yPos;
// 	}
// 	
// 	/*
// 	 * Default Constructor: Creates an empty Location
// 	 */
// 	public Location() {
// 	}
// 	
// 	@Override
// 	public boolean equals(Object other){
// 		boolean result = false;
// 	    if (other == null) return false;
// 	    if (!(other instanceof Location))return false;
// 	    if (other == this) return true;
// 	    
// 	    Location otherLocation = (Location)other;
// 	    if(this.xPos == otherLocation.xPos && this.yPos == otherLocation.yPos)
// 	    	result = true;
// 
// 	    return result;
// 	}
// 
// 	public int getServingWlanId(){
// 		return servingWlanId;
// 	}
// 	
// 	public int getPlaceTypeIndex(){
// 		return placeTypeIndex;
// 	}
// 	
// 	public int getXPos(){
// 		return xPos;
// 	}
// 	
// 	public int getYPos(){
// 		return yPos;
// 	}
// }


// Path: src/edu/boun/edgecloudsim/edge_client/Task.java
import edu.boun.edgecloudsim.utils.Location;
import org.cloudbus.cloudsim.Cloudlet;
import org.cloudbus.cloudsim.UtilizationModel;
import org.cloudbus.cloudsim.core.CloudSim;

		
		mobileDeviceId = _mobileDeviceId;
		creationTime = CloudSim.clock();
	}

	
	public void setSubmittedLocation(Location _submittedLocation){
		submittedLocation =_submittedLocation;
	}

	public void setAssociatedDatacenterId(int _datacenterId){
		datacenterId=_datacenterId;
	}
	
	public void setAssociatedHostId(int _hostIndex){
		hostIndex=_hostIndex;
	}

	public void setAssociatedVmId(int _vmIndex){
		vmIndex=_vmIndex;
	}
	
	public void setTaskType(int _type){
		type=_type;
	}

	public int getMobileDeviceId(){
		return mobileDeviceId;
	}
	

	public Location getSubmittedLocation(){
