看板 EE_DSnP 關於我們 聯絡資訊
想請問一下 在BddMgr::uniquify() 前 老師所給的說明 // Check if triplet (l, r, i) is in _uniqueTable, // If not, create a new node; // else, return the hashed one check應該是使用uniqueTable.check()吧 如果找不到 而我們create a new node後 這個new出來的node 是不是應該要先在uniquify()內insert到uniqueTable之中 然後再return回去呢? 因為找不到還有哪裡可以使用uniqueTable.insert()......orz 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.4.186 ※ 編輯: cmh317 來自: 140.112.4.186 (01/02 20:37)
ric2k1:嗯, 在 uniquify() return 之前要將 new node insert到hash 01/02 21:38