changeset 2342 | 4dd3eb348641 |
parent 2338 | 359f0b71919b |
child 2343 | 21587bc5922b |
44:fa9e3a61188c | 45:967cbebdd335 |
---|---|
763 bool operator<(const Node& node) const {return id < node.id;} |
763 bool operator<(const Node& node) const {return id < node.id;} |
764 }; |
764 }; |
765 |
765 |
766 class UEdge { |
766 class UEdge { |
767 friend class ListUGraphBase; |
767 friend class ListUGraphBase; |
768 friend class ListUGraphBase::Edge; |
|
768 protected: |
769 protected: |
769 |
770 |
770 int id; |
771 int id; |
771 explicit UEdge(int pid) { id = pid;} |
772 explicit UEdge(int pid) { id = pid;} |
772 |
773 |