# Ticket #69: 60aca94c7cb5.patch

File 60aca94c7cb5.patch, 4.1 KB (added by Balazs Dezso, 8 years ago)

Doc fixes

• ## lemon/concepts/bpgraph.h

```# HG changeset patch
# User Balazs Dezso <deba@inf.elte.hu>
# Date 1326319085 -3600
# Node ID 60aca94c7cb52d5ebfc9b0632d565ee8487f6b55
# Parent  37d179a450778255e09c55e8758b09668a10ffef
Doc fix

diff -r 37d179a45077 -r 60aca94c7cb5 lemon/concepts/bpgraph.h```
 a /// \brief Converts the node to red node object. /// /// This class is converts unsafely the node to red node /// This function converts unsafely the node to red node /// object. It should be called only if the node is from the red /// partition or INVALID. RedNode asRedNodeUnsafe(const Node&) const { return RedNode(); } /// \brief Converts the node to blue node object. /// /// This class is converts unsafely the node to blue node /// This function converts unsafely the node to blue node /// object. It should be called only if the node is from the red /// partition or INVALID. BlueNode asBlueNodeUnsafe(const Node&) const { return BlueNode(); } /// \brief Converts the node to red node object. /// /// This class is converts safely the node to red node /// This function converts safely the node to red node /// object. If the node is not from the red partition, then it /// returns INVALID. RedNode asRedNode(const Node&) const { return RedNode(); } /// \brief Converts the node to blue node object. /// /// This class is converts unsafely the node to blue node /// This function converts unsafely the node to blue node /// object. If the node is not from the blue partition, then it /// returns INVALID. BlueNode asBlueNode(const Node&) const { return BlueNode(); }
• ## lemon/concepts/graph_components.h

`diff -r 37d179a45077 -r 60aca94c7cb5 lemon/concepts/graph_components.h`
 a /// \brief Class to represent red nodes. /// /// This class represents the red nodes of the graph. The red /// nodes can be used also as normal nodes. /// nodes can also be used as normal nodes. class RedNode : public Node { typedef Node Parent; /// \brief Class to represent blue nodes. /// /// This class represents the blue nodes of the graph. The blue /// nodes can be used also as normal nodes. /// nodes can also be used as normal nodes. class BlueNode : public Node { typedef Node Parent; /// \brief Converts the node to red node object. /// /// This class is converts unsafely the node to red node /// This function converts unsafely the node to red node /// object. It should be called only if the node is from the red /// partition or INVALID. RedNode asRedNodeUnsafe(const Node&) const { return RedNode(); } /// \brief Converts the node to blue node object. /// /// This class is converts unsafely the node to blue node /// This function converts unsafely the node to blue node /// object. It should be called only if the node is from the red /// partition or INVALID. BlueNode asBlueNodeUnsafe(const Node&) const { return BlueNode(); } /// \brief Converts the node to red node object. /// /// This class is converts safely the node to red node /// This function converts safely the node to red node /// object. If the node is not from the red partition, then it /// returns INVALID. RedNode asRedNode(const Node&) const { return RedNode(); } /// \brief Converts the node to blue node object. /// /// This class is converts unsafely the node to blue node /// This function converts unsafely the node to blue node /// object. If the node is not from the blue partition, then it /// returns INVALID. BlueNode asBlueNode(const Node&) const { return BlueNode(); }