Robot - YosefTwito/PackIt GitHub Wiki
- This class represents Robot.
- the robot knows: where he is, and where he is going, the score (fruits) he collect.
- @authors YosefTwito and EldarTakach
The Robot:
Robots's parameters:
- int src - the source-node of the Robot.
- int dest - the destination-node of this Robot.
- int id - id of the robot.
- double value - the value of fruits collected.
- Point3D pos - location of the Robot.
- int speed - weight he can move per second.
The functions of the Robot are:
Getters/Setters :
- to adjust an existing Robot.
Constructors:
- Robot().
- Robot(id, src, dest, pos, value, s).