Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shipJob.h:
- shipJob:
- getNextMove:
- @return type: hlt::Move
- @args: none
- @usage: getter for nextMove field
- clearNextMove:
- @return type: void
- @args: none
- @usage: reinitialize nextMove field
- calculateMovement:
- @return type: hlt::Move
- @args: hlt::Location& [destination, the place where the ship must arrive],
- const int [the maximum distance that a ship can go through in a round],
- int [the maximum number of allowed corrections];
- @usage: calculate if a ship can arrive at destination avoiding max_obstacles number
- and calculate angles for avoiding collisions
- calculateMovement:
- @return type: hlt::Move
- @args: hlt::Location& [destination, the place where the ship must arrive],
- const int [the maximum distance that a ship can go through in a round],
- @usage: calculate if a ship can arrive at destination and calculate angles for avoiding collisions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement