mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-05 11:40:46 +08:00
Update hopcroft_karp.cpp
This commit is contained in:
@@ -226,16 +226,9 @@ bool BGraph::dfs(int u)
|
||||
BGraph::BGraph():NIL(0),INF(INT_MAX)
|
||||
{}
|
||||
|
||||
// Default Constructor for initialization
|
||||
BGraph::BGraph(){
|
||||
NIL=0;
|
||||
INF=INT_MAX;
|
||||
}
|
||||
|
||||
// Constructor for initialization
|
||||
BGraph::BGraph(int m, int n):NIL(0),INF(INT_MAX)
|
||||
{
|
||||
this->BGraph();
|
||||
this->m = m;
|
||||
this->n = n;
|
||||
adj = std::vector<std::list<int> >(m + 1);
|
||||
|
||||
Reference in New Issue
Block a user