ParanoidPanda

Untitled

Dec 16th, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #ifndef TRAVELMAN_H
  2. #include <fstream>
  3. #include <iostream>
  4. #include <cstdlib>
  5. #include <string>
  6. #define TRAVELMAN_H
  7.  
  8. class TravelMan{
  9. public:
  10. TravelMan();
  11. void LoadFromFile();
  12. void Travel(int num_s, int num_d, int lenght);
  13. void ConsoleOut();
  14. void MakeMatrix();
  15. void SaveToFile();
  16. ~TravelMan();
  17. private:
  18. int dots;
  19. int **graph;
  20. int **matrix;
  21. bool *flag;
  22. int *path;
  23. int *min_path;
  24. int min = 0;
  25. };
  26.  
  27. #endif // TRAVELMAN_H
Add Comment
Please, Sign In to add comment