lemon/concepts/graph_components.h
changeset 2510 bb523a4758f7
parent 2474 e6368948d5f7
child 2553 bfced05fa852
equal deleted inserted replaced
4:751efad74bf9 5:8a25808cfe81
  1480       ///
  1480       ///
  1481       /// ReadWrite map of the nodes.
  1481       /// ReadWrite map of the nodes.
  1482       ///
  1482       ///
  1483       template <typename _Value>
  1483       template <typename _Value>
  1484       class NodeMap : public GraphMap<Graph, Node, _Value> {
  1484       class NodeMap : public GraphMap<Graph, Node, _Value> {
  1485       private:
       
  1486 	NodeMap();
       
  1487       public:
  1485       public:
  1488         typedef GraphMap<MappableGraphComponent, Node, _Value> Parent;
  1486         typedef GraphMap<MappableGraphComponent, Node, _Value> Parent;
  1489 
  1487 
  1490 	/// \brief Construct a new map.
  1488 	/// \brief Construct a new map.
  1491 	///
  1489 	///
  1492 	/// Construct a new map for the graph.
  1490 	/// Construct a new map for the graph.
  1493 	/// \todo call the right parent class constructor
       
  1494 	explicit NodeMap(const MappableGraphComponent& graph) 
  1491 	explicit NodeMap(const MappableGraphComponent& graph) 
  1495           : Parent(graph) {}
  1492           : Parent(graph) {}
  1496 
  1493 
  1497 	/// \brief Construct a new map with default value.
  1494 	/// \brief Construct a new map with default value.
  1498 	///
  1495 	///
  1520       ///
  1517       ///
  1521       /// ReadWrite map of the edges.
  1518       /// ReadWrite map of the edges.
  1522       ///
  1519       ///
  1523       template <typename _Value>
  1520       template <typename _Value>
  1524       class EdgeMap : public GraphMap<Graph, Edge, _Value> {
  1521       class EdgeMap : public GraphMap<Graph, Edge, _Value> {
  1525       private:
       
  1526 	EdgeMap();
       
  1527       public:
  1522       public:
  1528         typedef GraphMap<MappableGraphComponent, Edge, _Value> Parent;
  1523         typedef GraphMap<MappableGraphComponent, Edge, _Value> Parent;
  1529 
  1524 
  1530 	/// \brief Construct a new map.
  1525 	/// \brief Construct a new map.
  1531 	///
  1526 	///
  1532 	/// Construct a new map for the graph.
  1527 	/// Construct a new map for the graph.
  1533 	/// \todo call the right parent class constructor
       
  1534 	explicit EdgeMap(const MappableGraphComponent& graph) 
  1528 	explicit EdgeMap(const MappableGraphComponent& graph) 
  1535           : Parent(graph) {}
  1529           : Parent(graph) {}
  1536 
  1530 
  1537 	/// \brief Construct a new map with default value.
  1531 	/// \brief Construct a new map with default value.
  1538 	///
  1532 	///
  1625         typedef GraphMap<MappableUGraphComponent, UEdge, _Value> Parent;
  1619         typedef GraphMap<MappableUGraphComponent, UEdge, _Value> Parent;
  1626 
  1620 
  1627 	/// \brief Construct a new map.
  1621 	/// \brief Construct a new map.
  1628 	///
  1622 	///
  1629 	/// Construct a new map for the graph.
  1623 	/// Construct a new map for the graph.
  1630 	/// \todo call the right parent class constructor
       
  1631 	explicit UEdgeMap(const MappableUGraphComponent& graph) 
  1624 	explicit UEdgeMap(const MappableUGraphComponent& graph) 
  1632           : Parent(graph) {}
  1625           : Parent(graph) {}
  1633 
  1626 
  1634 	/// \brief Construct a new map with default value.
  1627 	/// \brief Construct a new map with default value.
  1635 	///
  1628 	///
  1710         typedef GraphMap<MappableBpUGraphComponent, Node, _Value> Parent;
  1703         typedef GraphMap<MappableBpUGraphComponent, Node, _Value> Parent;
  1711 
  1704 
  1712 	/// \brief Construct a new map.
  1705 	/// \brief Construct a new map.
  1713 	///
  1706 	///
  1714 	/// Construct a new map for the graph.
  1707 	/// Construct a new map for the graph.
  1715 	/// \todo call the right parent class constructor
       
  1716 	explicit ANodeMap(const MappableBpUGraphComponent& graph) 
  1708 	explicit ANodeMap(const MappableBpUGraphComponent& graph) 
  1717           : Parent(graph) {}
  1709           : Parent(graph) {}
  1718 
  1710 
  1719 	/// \brief Construct a new map with default value.
  1711 	/// \brief Construct a new map with default value.
  1720 	///
  1712 	///
  1748         typedef GraphMap<MappableBpUGraphComponent, Node, _Value> Parent;
  1740         typedef GraphMap<MappableBpUGraphComponent, Node, _Value> Parent;
  1749 
  1741 
  1750 	/// \brief Construct a new map.
  1742 	/// \brief Construct a new map.
  1751 	///
  1743 	///
  1752 	/// Construct a new map for the graph.
  1744 	/// Construct a new map for the graph.
  1753 	/// \todo call the right parent class constructor
       
  1754 	explicit BNodeMap(const MappableBpUGraphComponent& graph) 
  1745 	explicit BNodeMap(const MappableBpUGraphComponent& graph) 
  1755           : Parent(graph) {}
  1746           : Parent(graph) {}
  1756 
  1747 
  1757 	/// \brief Construct a new map with default value.
  1748 	/// \brief Construct a new map with default value.
  1758 	///
  1749 	///