26 template<
class FACTORGRAPH>
28 std::map<int32_t, std::set<int32_t> > iAdjMap;
29 std::map<int32_t, std::set<int32_t> >
::iterator iAdjMapIt;
45 keySet.insert(keySet.end(),
key);
63 iAdjMap[
i].insert(iAdjMap[
i].
end(),
j);
72 for (iAdjMapIt = iAdjMap.begin(); iAdjMapIt != iAdjMap.end(); ++iAdjMapIt) {
73 std::vector<int32_t> temp;
75 std::copy(iAdjMapIt->second.begin(), iAdjMapIt->second.end(),
76 std::back_inserter(temp));
78 adj_.insert(
adj_.end(), temp.begin(), temp.end());