mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
clang-tidy fixes for 780580f71fd7245da9ec27aa54c35fca6793883d
This commit is contained in:
parent
780580f71f
commit
5114e16d48
@ -58,12 +58,10 @@
|
||||
*/
|
||||
class BGraph
|
||||
{
|
||||
|
||||
int m; ///< m is the number of vertices on left side of Bipartite Graph
|
||||
int n; ///< n is the number of vertices on right side of Bipartite Graph
|
||||
const int NIL;
|
||||
const int INF;
|
||||
|
||||
int m{}; ///< m is the number of vertices on left side of Bipartite Graph
|
||||
int n{}; ///< n is the number of vertices on right side of Bipartite Graph
|
||||
const int NIL{0};
|
||||
const int INF{INT_MAX};
|
||||
|
||||
std::vector<std::list<int> >adj; ///< adj[u] stores adjacents of left side and 0 is used for dummy vertex
|
||||
|
||||
@ -222,8 +220,7 @@ bool BGraph::dfs(int u)
|
||||
* Function documentation
|
||||
* @brief Default Constructor for initialization
|
||||
*/
|
||||
BGraph::BGraph():NIL(0),INF(INT_MAX)
|
||||
{}
|
||||
BGraph::BGraph() {}
|
||||
|
||||
/**
|
||||
* Function documentation
|
||||
|
Loading…
x
Reference in New Issue
Block a user