We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f63e187 commit 9ffc987Copy full SHA for 9ffc987
augmentedtree/interface.go
@@ -32,7 +32,10 @@ range handling.
32
package augmentedtree
33
34
// Interval is the interface that must be implemented by any
35
-// item added to the interval tree.
+// item added to the interval tree. This interface is similar to the
36
+// interval found in the rangetree package and it should be possible
37
+// for the same struct to implement both interfaces. Note that ranges
38
+// here are inclusive.
39
type Interval interface {
40
// LowAtDimension returns an integer representing the lower bound
41
// at the requested dimension.
0 commit comments