MCPcopy Create free account
hub / github.com/Gecode/gecode / Extent

Class Extent

gecode/gist/visualnode.hh:63–80  ·  view source on GitHub ↗

\brief %Extent representing shape of a tree at one depth level

Source from the content-addressed store, hash-verified

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 {

Callers 4

ShapeAllocatorMethod · 0.85
mergeMethod · 0.85
computeShapeMethod · 0.85
getExtentAtDepthMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected