Abstract base class implementing methods to move around the area
Position positionSalesArea salesAreaArrayList<Position> destinations
Position getPosition()ArrayList<Position> getDestinations()void setPosition(Position newPosition)Position getNearestDestination()
Example Agent subclass to implement the Nearest Neighbour algorithm
void moveToNearestDestination()
2D Area with Position's indication destinations and the Agent's position
double heightdouble widthArrayList<Position> destinations
double getHeight()double getWidth()void addDestination(Position d)ArrayList<Position> getDestinations()int getNumberOfDestinations()void generateRandomDestinations(int n)
Class indicating coordinates, to be used both for the Agent's position and possible destinations
double heightdouble widthArrayList<Position> destinations
double xdouble ydouble getDistance(Position p)double getX()double getY()void setX(double X)void setY(double Y)