-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
63 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,7 @@ out/* | |
|
||
APDescription.txt | ||
MTPs-Main-Container.txt | ||
|
||
#idea settings folder | ||
.idea | ||
.idea/* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package agents; | ||
|
||
import map.GraphNode; | ||
|
||
public class Request { | ||
private String id; | ||
private String parentId; | ||
private int numBoxes; | ||
private GraphNode destination; | ||
private String deliveryTime; | ||
|
||
public Request(String id, String parentId, int numBoxes, GraphNode destination, String deliveryTime) { | ||
this.id = id; | ||
this.parentId = parentId; | ||
this.numBoxes = numBoxes; | ||
this.destination = destination; | ||
this.deliveryTime = deliveryTime; | ||
} | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
public String getParentId() { | ||
return parentId; | ||
} | ||
|
||
public void setParentId(String parentId) { | ||
this.parentId = parentId; | ||
} | ||
|
||
public int getNumBoxes() { | ||
return numBoxes; | ||
} | ||
|
||
public void setNumBoxes(int numBoxes) { | ||
this.numBoxes = numBoxes; | ||
} | ||
|
||
public GraphNode getDestination() { | ||
return destination; | ||
} | ||
|
||
public void setDestination(GraphNode destination) { | ||
this.destination = destination; | ||
} | ||
|
||
public String getDeliveryTime() { | ||
return deliveryTime; | ||
} | ||
|
||
public void setDeliveryTime(String deliveryTime) { | ||
this.deliveryTime = deliveryTime; | ||
} | ||
} |