COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
01/11/12 22:43:50 (8 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

Remove asRedBludeNode() function (#69)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/graph_components.h

    r1194 r1195  
    428428      /// returns INVALID.
    429429      BlueNode asBlueNode(const Node&) const { return BlueNode(); }
    430 
    431       /// \brief Convert the node to either red or blue node.
    432       ///
    433       /// If the node is from the red partition then it is returned in
    434       /// first and second is INVALID. If the node is from the blue
    435       /// partition then it is returned in second and first is
    436       /// INVALID. If the node INVALID then both first and second are
    437       /// INVALID in the return value.
    438       std::pair<RedNode, BlueNode> asRedBlueNode(const Node&) const {
    439         return std::make_pair(RedNode(), BlueNode());
    440       }
    441430
    442431      template <typename _BpGraph>
     
    468457            rn = bpgraph.asRedNode(rnan);
    469458            bn = bpgraph.asBlueNode(bnan);
    470             std::pair<RedNode, BlueNode> p = bpgraph.asRedBlueNode(rnan);
    471             ignore_unused_variable_warning(b,p);
     459            ignore_unused_variable_warning(b);
    472460          }
    473461        }
Note: See TracChangeset for help on using the changeset viewer.