package
Version:
v0.0.0-...-36687a4
Opens a new window with list of versions in this module.
Published: Oct 28, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Interval struct {
Start, End Point
}
Interval on a line from start to end inclusive at both ends.
Point is an integer representing a point on a line.
StabIntervalPoints computes the smallest set of points that stabs X.
Runs in O(N log N), but modifies the input slice by sorting.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.