Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef ASSIGNMENT9_H
- #define ASSIGNMENT9_H
- #include <vector>
- #include <list>
- class graph {
- private:
- int size;
- std::vector< std::list<int> > adj_list;
- std::vector< char > labels;
- void depth_first( int ) const;
- public:
- graph( const char* filename );
- ~graph();
- int get_size() const;
- void traverse( ) const;
- void print ( ) const;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement