\brief %Extent representing shape of a tree at one depth level
| 61 | |
| 62 | /// \brief %Extent representing shape of a tree at one depth level |
| 63 | class Extent { |
| 64 | public: |
| 65 | /// Left extent |
| 66 | int l; |
| 67 | /// Right extent |
| 68 | int r; |
| 69 | /// Default constructor |
| 70 | Extent(void); |
| 71 | /// Construct with \a l0 and \a r0 |
| 72 | Extent(int l0, int r0); |
| 73 | /// Construct with width \a width |
| 74 | Extent(int width); |
| 75 | |
| 76 | /// Extend extent by \a deltaL and \a deltaR |
| 77 | void extend(int deltaL, int deltaR); |
| 78 | /// Move extent by \a delta |
| 79 | void move(int delta); |
| 80 | }; |
| 81 | |
| 82 | /// \brief The shape of a subtree |
| 83 | class Shape { |
no outgoing calls
no test coverage detected