Diff
Not logged in

Differences From Artifact [6a23b64e61d31ffb]:

To Artifact [aeb9a52588e83f01]:


24 24 if( !v2id_.count(v) ) { v2id_[v] = size(); id2v_.push_back(v); } 25 25 return v2id_[v]; 26 26 } 27 27 const T& id2v(int i) const { return id2v_[i]; } 28 28 int size() const { return id2v_.size(); } 29 29 }; 30 30 31 -template<typename Vert, typename Flow, int NV=512> 31 +template<typename Vert, typename Flow, int NV=2048> 32 32 class MaxFlow 33 33 { 34 34 IdGen<Vert> idgen; 35 35 vector<int> G[NV]; 36 36 Flow F[NV][NV]; 37 37 38 38 public: