lemon/concepts/bpgraph.h
changeset 1432 da87dbdf3daf
parent 1336 0759d974de81
equal deleted inserted replaced
8:f7a05acec536 9:c03e3444f759
    93         /// Copy constructor.
    93         /// Copy constructor.
    94 
    94 
    95         /// Copy constructor.
    95         /// Copy constructor.
    96         ///
    96         ///
    97         Node(const Node&) { }
    97         Node(const Node&) { }
       
    98         /// Assignment operator
       
    99 
       
   100         /// Assignment operator.
       
   101         ///
       
   102         const Node &operator=(const Node&) { return *this; }
    98 
   103 
    99         /// %Invalid constructor \& conversion.
   104         /// %Invalid constructor \& conversion.
   100 
   105 
   101         /// Initializes the object to be invalid.
   106         /// Initializes the object to be invalid.
   102         /// \sa Invalid for more details.
   107         /// \sa Invalid for more details.
   141         /// Copy constructor.
   146         /// Copy constructor.
   142 
   147 
   143         /// Copy constructor.
   148         /// Copy constructor.
   144         ///
   149         ///
   145         RedNode(const RedNode&) : Node() { }
   150         RedNode(const RedNode&) : Node() { }
       
   151         /// Assignment operator
       
   152 
       
   153         /// Assignment operator.
       
   154         ///
       
   155         const RedNode &operator=(const RedNode&) { return *this; }
   146 
   156 
   147         /// %Invalid constructor \& conversion.
   157         /// %Invalid constructor \& conversion.
   148 
   158 
   149         /// Initializes the object to be invalid.
   159         /// Initializes the object to be invalid.
   150         /// \sa Invalid for more details.
   160         /// \sa Invalid for more details.
   168         /// Copy constructor.
   178         /// Copy constructor.
   169 
   179 
   170         /// Copy constructor.
   180         /// Copy constructor.
   171         ///
   181         ///
   172         BlueNode(const BlueNode&) : Node() { }
   182         BlueNode(const BlueNode&) : Node() { }
       
   183         /// Assignment operator
       
   184 
       
   185         /// Assignment operator.
       
   186         ///
       
   187         const BlueNode &operator=(const BlueNode&) { return *this; }
       
   188 
   173 
   189 
   174         /// %Invalid constructor \& conversion.
   190         /// %Invalid constructor \& conversion.
   175 
   191 
   176         /// Initializes the object to be invalid.
   192         /// Initializes the object to be invalid.
   177         /// \sa Invalid for more details.
   193         /// \sa Invalid for more details.
   198         /// Copy constructor.
   214         /// Copy constructor.
   199 
   215 
   200         /// Copy constructor.
   216         /// Copy constructor.
   201         ///
   217         ///
   202         RedNodeIt(const RedNodeIt& n) : RedNode(n) { }
   218         RedNodeIt(const RedNodeIt& n) : RedNode(n) { }
       
   219         /// Assignment operator
       
   220 
       
   221         /// Assignment operator.
       
   222         ///
       
   223         const RedNodeIt &operator=(const RedNodeIt&) { return *this; }
   203         /// %Invalid constructor \& conversion.
   224         /// %Invalid constructor \& conversion.
   204 
   225 
   205         /// Initializes the iterator to be invalid.
   226         /// Initializes the iterator to be invalid.
   206         /// \sa Invalid for more details.
   227         /// \sa Invalid for more details.
   207         RedNodeIt(Invalid) { }
   228         RedNodeIt(Invalid) { }
   257         /// Copy constructor.
   278         /// Copy constructor.
   258 
   279 
   259         /// Copy constructor.
   280         /// Copy constructor.
   260         ///
   281         ///
   261         BlueNodeIt(const BlueNodeIt& n) : BlueNode(n) { }
   282         BlueNodeIt(const BlueNodeIt& n) : BlueNode(n) { }
       
   283         /// Assignment operator
       
   284 
       
   285         /// Assignment operator.
       
   286         ///
       
   287         const BlueNodeIt &operator=(const BlueNodeIt&) { return *this; }
   262         /// %Invalid constructor \& conversion.
   288         /// %Invalid constructor \& conversion.
   263 
   289 
   264         /// Initializes the iterator to be invalid.
   290         /// Initializes the iterator to be invalid.
   265         /// \sa Invalid for more details.
   291         /// \sa Invalid for more details.
   266         BlueNodeIt(Invalid) { }
   292         BlueNodeIt(Invalid) { }
   316         /// Copy constructor.
   342         /// Copy constructor.
   317 
   343 
   318         /// Copy constructor.
   344         /// Copy constructor.
   319         ///
   345         ///
   320         NodeIt(const NodeIt& n) : Node(n) { }
   346         NodeIt(const NodeIt& n) : Node(n) { }
       
   347         /// Assignment operator
       
   348 
       
   349         /// Assignment operator.
       
   350         ///
       
   351         const NodeIt &operator=(const NodeIt&) { return *this; }
   321         /// %Invalid constructor \& conversion.
   352         /// %Invalid constructor \& conversion.
   322 
   353 
   323         /// Initializes the iterator to be invalid.
   354         /// Initializes the iterator to be invalid.
   324         /// \sa Invalid for more details.
   355         /// \sa Invalid for more details.
   325         NodeIt(Invalid) { }
   356         NodeIt(Invalid) { }
   372         /// Copy constructor.
   403         /// Copy constructor.
   373 
   404 
   374         /// Copy constructor.
   405         /// Copy constructor.
   375         ///
   406         ///
   376         Edge(const Edge&) { }
   407         Edge(const Edge&) { }
       
   408         /// Assignment operator
       
   409 
       
   410         /// Assignment operator.
       
   411         ///
       
   412         const Edge &operator=(const Edge&) { return *this; }
   377         /// %Invalid constructor \& conversion.
   413         /// %Invalid constructor \& conversion.
   378 
   414 
   379         /// Initializes the object to be invalid.
   415         /// Initializes the object to be invalid.
   380         /// \sa Invalid for more details.
   416         /// \sa Invalid for more details.
   381         Edge(Invalid) { }
   417         Edge(Invalid) { }
   420         /// Copy constructor.
   456         /// Copy constructor.
   421 
   457 
   422         /// Copy constructor.
   458         /// Copy constructor.
   423         ///
   459         ///
   424         EdgeIt(const EdgeIt& e) : Edge(e) { }
   460         EdgeIt(const EdgeIt& e) : Edge(e) { }
       
   461         /// Assignment operator
       
   462 
       
   463         /// Assignment operator.
       
   464         ///
       
   465         const EdgeIt &operator=(const EdgeIt&) { return *this; }
   425         /// %Invalid constructor \& conversion.
   466         /// %Invalid constructor \& conversion.
   426 
   467 
   427         /// Initializes the iterator to be invalid.
   468         /// Initializes the iterator to be invalid.
   428         /// \sa Invalid for more details.
   469         /// \sa Invalid for more details.
   429         EdgeIt(Invalid) { }
   470         EdgeIt(Invalid) { }
   485         /// Copy constructor.
   526         /// Copy constructor.
   486 
   527 
   487         /// Copy constructor.
   528         /// Copy constructor.
   488         ///
   529         ///
   489         IncEdgeIt(const IncEdgeIt& e) : Edge(e) { }
   530         IncEdgeIt(const IncEdgeIt& e) : Edge(e) { }
       
   531         /// Assignment operator
       
   532 
       
   533         /// Assignment operator.
       
   534         ///
       
   535         const IncEdgeIt &operator=(const IncEdgeIt&) { return *this; }
   490         /// %Invalid constructor \& conversion.
   536         /// %Invalid constructor \& conversion.
   491 
   537 
   492         /// Initializes the iterator to be invalid.
   538         /// Initializes the iterator to be invalid.
   493         /// \sa Invalid for more details.
   539         /// \sa Invalid for more details.
   494         IncEdgeIt(Invalid) { }
   540         IncEdgeIt(Invalid) { }
   543         /// Copy constructor.
   589         /// Copy constructor.
   544 
   590 
   545         /// Copy constructor.
   591         /// Copy constructor.
   546         ///
   592         ///
   547         Arc(const Arc&) { }
   593         Arc(const Arc&) { }
       
   594         /// Assignment operator
       
   595 
       
   596         /// Assignment operator.
       
   597         ///
       
   598         const Arc &operator=(const Arc&) { return *this; }
   548         /// %Invalid constructor \& conversion.
   599         /// %Invalid constructor \& conversion.
   549 
   600 
   550         /// Initializes the object to be invalid.
   601         /// Initializes the object to be invalid.
   551         /// \sa Invalid for more details.
   602         /// \sa Invalid for more details.
   552         Arc(Invalid) { }
   603         Arc(Invalid) { }
   597         /// Copy constructor.
   648         /// Copy constructor.
   598 
   649 
   599         /// Copy constructor.
   650         /// Copy constructor.
   600         ///
   651         ///
   601         ArcIt(const ArcIt& e) : Arc(e) { }
   652         ArcIt(const ArcIt& e) : Arc(e) { }
       
   653         /// Assignment operator
       
   654 
       
   655         /// Assignment operator.
       
   656         ///
       
   657         const ArcIt &operator=(const ArcIt&) { return *this; }
   602         /// %Invalid constructor \& conversion.
   658         /// %Invalid constructor \& conversion.
   603 
   659 
   604         /// Initializes the iterator to be invalid.
   660         /// Initializes the iterator to be invalid.
   605         /// \sa Invalid for more details.
   661         /// \sa Invalid for more details.
   606         ArcIt(Invalid) { }
   662         ArcIt(Invalid) { }
   662         /// Copy constructor.
   718         /// Copy constructor.
   663 
   719 
   664         /// Copy constructor.
   720         /// Copy constructor.
   665         ///
   721         ///
   666         OutArcIt(const OutArcIt& e) : Arc(e) { }
   722         OutArcIt(const OutArcIt& e) : Arc(e) { }
       
   723         /// Assignment operator
       
   724 
       
   725         /// Assignment operator.
       
   726         ///
       
   727         const OutArcIt &operator=(const OutArcIt&) { return *this; }
   667         /// %Invalid constructor \& conversion.
   728         /// %Invalid constructor \& conversion.
   668 
   729 
   669         /// Initializes the iterator to be invalid.
   730         /// Initializes the iterator to be invalid.
   670         /// \sa Invalid for more details.
   731         /// \sa Invalid for more details.
   671         OutArcIt(Invalid) { }
   732         OutArcIt(Invalid) { }
   728         /// Copy constructor.
   789         /// Copy constructor.
   729 
   790 
   730         /// Copy constructor.
   791         /// Copy constructor.
   731         ///
   792         ///
   732         InArcIt(const InArcIt& e) : Arc(e) { }
   793         InArcIt(const InArcIt& e) : Arc(e) { }
       
   794         /// Assignment operator
       
   795 
       
   796         /// Assignment operator.
       
   797         ///
       
   798         const InArcIt &operator=(const InArcIt&) { return *this; }
   733         /// %Invalid constructor \& conversion.
   799         /// %Invalid constructor \& conversion.
   734 
   800 
   735         /// Initializes the iterator to be invalid.
   801         /// Initializes the iterator to be invalid.
   736         /// \sa Invalid for more details.
   802         /// \sa Invalid for more details.
   737         InArcIt(Invalid) { }
   803         InArcIt(Invalid) { }