# 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
|
b
|
|
| 774 | 774 | |
| 775 | 775 | /// \brief Converts the node to red node object. |
| 776 | 776 | /// |
| 777 | | /// This class is converts unsafely the node to red node |
| | 777 | /// This function converts unsafely the node to red node |
| 778 | 778 | /// object. It should be called only if the node is from the red |
| 779 | 779 | /// partition or INVALID. |
| 780 | 780 | RedNode asRedNodeUnsafe(const Node&) const { return RedNode(); } |
| 781 | 781 | |
| 782 | 782 | /// \brief Converts the node to blue node object. |
| 783 | 783 | /// |
| 784 | | /// This class is converts unsafely the node to blue node |
| | 784 | /// This function converts unsafely the node to blue node |
| 785 | 785 | /// object. It should be called only if the node is from the red |
| 786 | 786 | /// partition or INVALID. |
| 787 | 787 | BlueNode asBlueNodeUnsafe(const Node&) const { return BlueNode(); } |
| 788 | 788 | |
| 789 | 789 | /// \brief Converts the node to red node object. |
| 790 | 790 | /// |
| 791 | | /// This class is converts safely the node to red node |
| | 791 | /// This function converts safely the node to red node |
| 792 | 792 | /// object. If the node is not from the red partition, then it |
| 793 | 793 | /// returns INVALID. |
| 794 | 794 | RedNode asRedNode(const Node&) const { return RedNode(); } |
| 795 | 795 | |
| 796 | 796 | /// \brief Converts the node to blue node object. |
| 797 | 797 | /// |
| 798 | | /// This class is converts unsafely the node to blue node |
| | 798 | /// This function converts unsafely the node to blue node |
| 799 | 799 | /// object. If the node is not from the blue partition, then it |
| 800 | 800 | /// returns INVALID. |
| 801 | 801 | BlueNode asBlueNode(const Node&) const { return BlueNode(); } |
diff -r 37d179a45077 -r 60aca94c7cb5 lemon/concepts/graph_components.h
|
a
|
b
|
|
| 313 | 313 | /// \brief Class to represent red nodes. |
| 314 | 314 | /// |
| 315 | 315 | /// This class represents the red nodes of the graph. The red |
| 316 | | /// nodes can be used also as normal nodes. |
| | 316 | /// nodes can also be used as normal nodes. |
| 317 | 317 | class RedNode : public Node { |
| 318 | 318 | typedef Node Parent; |
| 319 | 319 | |
| … |
… |
|
| 342 | 342 | /// \brief Class to represent blue nodes. |
| 343 | 343 | /// |
| 344 | 344 | /// This class represents the blue nodes of the graph. The blue |
| 345 | | /// nodes can be used also as normal nodes. |
| | 345 | /// nodes can also be used as normal nodes. |
| 346 | 346 | class BlueNode : public Node { |
| 347 | 347 | typedef Node Parent; |
| 348 | 348 | |
| … |
… |
|
| 397 | 397 | |
| 398 | 398 | /// \brief Converts the node to red node object. |
| 399 | 399 | /// |
| 400 | | /// This class is converts unsafely the node to red node |
| | 400 | /// This function converts unsafely the node to red node |
| 401 | 401 | /// object. It should be called only if the node is from the red |
| 402 | 402 | /// partition or INVALID. |
| 403 | 403 | RedNode asRedNodeUnsafe(const Node&) const { return RedNode(); } |
| 404 | 404 | |
| 405 | 405 | /// \brief Converts the node to blue node object. |
| 406 | 406 | /// |
| 407 | | /// This class is converts unsafely the node to blue node |
| | 407 | /// This function converts unsafely the node to blue node |
| 408 | 408 | /// object. It should be called only if the node is from the red |
| 409 | 409 | /// partition or INVALID. |
| 410 | 410 | BlueNode asBlueNodeUnsafe(const Node&) const { return BlueNode(); } |
| 411 | 411 | |
| 412 | 412 | /// \brief Converts the node to red node object. |
| 413 | 413 | /// |
| 414 | | /// This class is converts safely the node to red node |
| | 414 | /// This function converts safely the node to red node |
| 415 | 415 | /// object. If the node is not from the red partition, then it |
| 416 | 416 | /// returns INVALID. |
| 417 | 417 | RedNode asRedNode(const Node&) const { return RedNode(); } |
| 418 | 418 | |
| 419 | 419 | /// \brief Converts the node to blue node object. |
| 420 | 420 | /// |
| 421 | | /// This class is converts unsafely the node to blue node |
| | 421 | /// This function converts unsafely the node to blue node |
| 422 | 422 | /// object. If the node is not from the blue partition, then it |
| 423 | 423 | /// returns INVALID. |
| 424 | 424 | BlueNode asBlueNode(const Node&) const { return BlueNode(); } |