Gecode::Gist::Extent Class Reference
Extent representing shape of a tree at one depth level More...
#include <visualnode.hh>
Public Member Functions | |
Extent (void) | |
Default constructor. | |
Extent (int l0, int r0) | |
Construct with l0 and r0. | |
Extent (int width) | |
Construct with width width. | |
void | extend (int deltaL, int deltaR) |
Extend extent by deltaL and deltaR. | |
void | move (int delta) |
Move extent by delta. | |
Public Attributes | |
int | l |
Left extent. | |
int | r |
Right extent. |
Detailed Description
Extent representing shape of a tree at one depth level
Definition at line 67 of file visualnode.hh.
Constructor & Destructor Documentation
Gecode::Gist::Extent::Extent | ( | void | ) | [inline] |
Default constructor.
Definition at line 41 of file visualnode.hpp.
Gecode::Gist::Extent::Extent | ( | int | l0, | |
int | r0 | |||
) | [inline] |
Construct with l0 and r0.
Definition at line 44 of file visualnode.hpp.
Gecode::Gist::Extent::Extent | ( | int | width | ) | [inline] |
Construct with width width.
Definition at line 47 of file visualnode.hpp.
Member Function Documentation
void Gecode::Gist::Extent::extend | ( | int | deltaL, | |
int | deltaR | |||
) | [inline] |
Extend extent by deltaL and deltaR.
Definition at line 54 of file visualnode.hpp.
void Gecode::Gist::Extent::move | ( | int | delta | ) | [inline] |
Move extent by delta.
Definition at line 59 of file visualnode.hpp.
Member Data Documentation
Left extent.
Definition at line 70 of file visualnode.hh.
Right extent.
Definition at line 72 of file visualnode.hh.
The documentation for this class was generated from the following files:
- gecode/gist/visualnode.hh (Revision: 11387)
- gecode/gist/visualnode.hpp (Revision: 11387)