Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef TRAVELMAN_H
- #include <fstream>
- #include <iostream>
- #include <cstdlib>
- #include <string>
- #define TRAVELMAN_H
- class TravelMan{
- public:
- TravelMan();
- void LoadFromFile();
- void Travel(int num_s, int num_d, int lenght);
- void ConsoleOut();
- void MakeMatrix();
- void SaveToFile();
- ~TravelMan();
- private:
- int dots;
- int **graph;
- int **matrix;
- bool *flag;
- int *path;
- int *min_path;
- int min = 0;
- };
- #endif // TRAVELMAN_H
Add Comment
Please, Sign In to add comment