equal
deleted
inserted
replaced
525 { |
525 { |
526 } //FIXME: Is it necessary |
526 } //FIXME: Is it necessary |
527 }; |
527 }; |
528 }; |
528 }; |
529 |
529 |
530 /// An empty eraseable graph class. |
530 /// An empty erasable graph class. |
531 |
531 |
532 /// This class provides all the common features of an \e eraseable graph |
532 /// This class provides all the common features of an \e erasable graph |
533 /// structure, |
533 /// structure, |
534 /// however completely without implementations and real data structures |
534 /// however completely without implementations and real data structures |
535 /// behind the interface. |
535 /// behind the interface. |
536 /// All graph algorithms should compile with this class, but it will not |
536 /// All graph algorithms should compile with this class, but it will not |
537 /// run properly, of course. |
537 /// run properly, of course. |
544 /// |
544 /// |
545 /// Also, you will find here the full documentation of a certain graph |
545 /// Also, you will find here the full documentation of a certain graph |
546 /// feature, the documentation of a real graph imlementation |
546 /// feature, the documentation of a real graph imlementation |
547 /// like @ref ListGraph or |
547 /// like @ref ListGraph or |
548 /// @ref SmartGraph will just refer to this structure. |
548 /// @ref SmartGraph will just refer to this structure. |
549 template < typename Gact, typename Gsub > class EraseableHierarchyGraph:public HierarchyGraph < Gact, |
549 template < typename Gact, typename Gsub > class ErasableHierarchyGraph:public HierarchyGraph < Gact, |
550 Gsub |
550 Gsub |
551 > |
551 > |
552 { |
552 { |
553 public: |
553 public: |
554 /// Deletes a node. |
554 /// Deletes a node. |
561 { |
561 { |
562 actuallayer.erase (e); |
562 actuallayer.erase (e); |
563 } |
563 } |
564 |
564 |
565 /// Defalult constructor. |
565 /// Defalult constructor. |
566 EraseableHierarchyGraph () |
566 ErasableHierarchyGraph () |
567 { |
567 { |
568 } |
568 } |
569 ///Copy consructor. |
569 ///Copy consructor. |
570 EraseableHierarchyGraph (const HierarchyGraph < Gact, Gsub > &EPG) |
570 ErasableHierarchyGraph (const HierarchyGraph < Gact, Gsub > &EPG) |
571 { |
571 { |
572 } |
572 } |
573 }; |
573 }; |
574 |
574 |
575 |
575 |