Changeset 1195:8b2b9e61d8ce in lemon for lemon/concepts/bpgraph.h
- Timestamp:
- 01/11/12 22:43:50 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/concepts/bpgraph.h
r1194 r1195 801 801 BlueNode asBlueNode(const Node&) const { return BlueNode(); } 802 802 803 /// \brief Convert the node to either red or blue node.804 ///805 /// If the node is from the red partition then it is returned in806 /// first and second is INVALID. If the node is from the blue807 /// partition then it is returned in second and first is808 /// INVALID. If the node INVALID then both first and second are809 /// INVALID in the return value.810 std::pair<RedNode, BlueNode> asRedBlueNode(const Node&) const {811 return std::make_pair(RedNode(), BlueNode());812 }813 814 803 /// \brief Gives back the red end node of the edge. 815 804 ///
Note: See TracChangeset
for help on using the changeset viewer.