Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. shipJob.h:
  2.  
  3. shipJob:
  4. getNextMove:
  5. @return type: hlt::Move
  6. @args: none
  7. @usage: getter for nextMove field
  8.  
  9. clearNextMove:
  10. @return type: void
  11. @args: none
  12. @usage: reinitialize nextMove field
  13.  
  14. calculateMovement:
  15. @return type: hlt::Move
  16. @args: hlt::Location& [destination, the place where the ship must arrive],
  17. const int [the maximum distance that a ship can go through in a round],
  18. int [the maximum number of allowed corrections];
  19. @usage: calculate if a ship can arrive at destination avoiding max_obstacles number
  20. and calculate angles for avoiding collisions
  21.  
  22. calculateMovement:
  23. @return type: hlt::Move
  24. @args: hlt::Location& [destination, the place where the ship must arrive],
  25. const int [the maximum distance that a ship can go through in a round],
  26. @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