提交 e248a614 编写于 作者: A AkVaya

Performed requested changes

上级 3e355d0f
...@@ -32,11 +32,8 @@ ...@@ -32,11 +32,8 @@
#include <queue> #include <queue>
/** /**
* Class for representing graph as an adjacency list. * @namespace graph
*/ * @brief Graph algorithms
/**
* @namespace graph
* @brief Graph algorithms
*/ */
namespace graph{ namespace graph{
/** /**
...@@ -44,7 +41,9 @@ namespace graph{ ...@@ -44,7 +41,9 @@ namespace graph{
* @brief Functions for checking whether a graph is bipartite or not * @brief Functions for checking whether a graph is bipartite or not
*/ */
namespace is_graph_bipartite{ namespace is_graph_bipartite{
/**
* @brief Class for representing graph as an adjacency list.
*/
class Graph { class Graph {
private: private:
int n; /// size of the graph int n; /// size of the graph
...@@ -57,9 +56,9 @@ namespace graph{ ...@@ -57,9 +56,9 @@ namespace graph{
public: public:
/** /**
* @brief Constructor that initializes the graph on creation * @brief Constructor that initializes the graph on creation
*/ */
explicit Graph(int size = nax){ explicit Graph(int size = nax){
n = size; n = size;
adj.resize(n); adj.resize(n);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册