-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUndirected.h
More file actions
23 lines (21 loc) · 758 Bytes
/
Undirected.h
File metadata and controls
23 lines (21 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef UNDIRECTED_H_DEFINED
#define UNDIRECTED_H_DEFINED
#include "BaseGraph.h"
using namespace std;
class Undirected : public BaseGraph {
public:
//constructor definitions
Undirected(const Undirected &rhs) = default;
Undirected &operator=(const Undirected &rhs) = default;
Undirected &operator=(Undirected &&rhs) = default;
Undirected(Undirected &&rhs) = default;
~Undirected() = default;
Undirected();
//method definitions
void ShowGraph(const string& output_name, vector<Edge*>edges_to_print, const string &title);
void Dijkstra();
void MSTPrim();
void IsBipartite();
void FindReverseEdge(Edge *edge);
};
#endif/*UNDIRECTED_H_INCLUDED*/