src/hugo/skeletons/graph.h
changeset 877 66dd225ca128
parent 826 056fbb112b30
child 880 9d0bfd35b97c
equal deleted inserted replaced
6:8b9e0a4d0bc4 7:1154d2b1c50c
   430     /// An empty non-static graph class.
   430     /// An empty non-static graph class.
   431 
   431 
   432     /// This class provides everything that \c StaticGraphSkeleton
   432     /// This class provides everything that \c StaticGraphSkeleton
   433     /// with additional functionality which enables to build a
   433     /// with additional functionality which enables to build a
   434     /// graph from scratch.
   434     /// graph from scratch.
   435     class GraphSkeleton : public StaticGraphSkeleton
   435     class ExtendableGraphSkeleton : public StaticGraphSkeleton
   436     {
   436     {
   437     public:
   437     public:
   438       /// Defalult constructor.
   438       /// Defalult constructor.
   439 
   439 
   440       /// Defalult constructor.
   440       /// Defalult constructor.
   441       ///
   441       ///
   442       GraphSkeleton() { }
   442       ExtendableGraphSkeleton() { }
   443       ///Add a new node to the graph.
   443       ///Add a new node to the graph.
   444 
   444 
   445       /// \return the new node.
   445       /// \return the new node.
   446       ///
   446       ///
   447       Node addNode() { return INVALID; }
   447       Node addNode() { return INVALID; }
   462 
   462 
   463     /// An empty erasable graph class.
   463     /// An empty erasable graph class.
   464   
   464   
   465     /// This class is an extension of \c GraphSkeleton. It also makes it
   465     /// This class is an extension of \c GraphSkeleton. It also makes it
   466     /// possible to erase edges or nodes.
   466     /// possible to erase edges or nodes.
   467     class ErasableGraphSkeleton : public GraphSkeleton
   467     class ErasableGraphSkeleton : public ExtendableGraphSkeleton
   468     {
   468     {
   469     public:
   469     public:
   470       /// Defalult constructor.
   470       /// Defalult constructor.
   471 
   471 
   472       /// Defalult constructor.
   472       /// Defalult constructor.