Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/biogo/store
/ functions
Functions
516 in github.com/biogo/store
⨍
Functions
516
◇
Types & classes
85
↓ 3 callers
Method
DoRange
Do performs the function fn on steps stored in the Vector over the range [from, to) in ascending sort order of start position. fn is passed the start,
step/step.go:398
↓ 3 callers
Method
End
End returns the index of lowest position beyond the end of the Vector.
step/step.go:125
↓ 3 callers
Method
Insert
Insert adds a point to the tree, updating the bounding volumes if bounding is true, and the tree is empty or the tree already has bounding volumes sto
kdtree/kdtree.go:163
↓ 3 callers
Function
MedianOfMedians
MedianOfMedians returns the index to the median value of the medians of groups of 5 consecutive elements.
kdtree/medians.go:81
↓ 3 callers
Method
NearestSet
NearestSet finds the nearest values to the query accepted by the provided Keeper, k. k must be able to return a ComparableDist specifying the maximum
kdtree/kdtree.go:357
↓ 3 callers
Function
NewNKeeper
NewNKeeper returns an NKeeper with the max value of the heap set to infinite distance. The returned NKeeper is able to retain at most n values.
kdtree/kdtree.go:311
↓ 3 callers
Method
Start
Start returns the index of minimum position of the Vector.
step/step.go:122
↓ 3 callers
Method
aggreesWith
(sv *Vector)
step/step_test.go:1333
↓ 3 callers
Method
doMatch
(fn Operation, q Overlapper)
interval/interval.go:617
↓ 3 callers
Method
doMatch
(fn IntOperation, q IntOverlapper)
interval/int_interval.go:580
↓ 3 callers
Method
dot
(label string)
interval/int_interval_test.go:670
↓ 3 callers
Method
dot
(label string)
interval/interval_test.go:804
↓ 3 callers
Function
dotFile
(t *Tree, label, dotString string)
kdtree/kdtree_test.go:565
↓ 3 callers
Method
fixUp
fixUp ensures that black link balance is correct, that red nodes lean left, and that 4 nodes are split in the case of BU23 and properly balanced in TD
llrb/llrb.go:115
↓ 3 callers
Method
fixUp
fixUp ensures that black link balance is correct, that red nodes lean left, and that 4 nodes are split in the case of BU23 and properly balanced in TD
interval/interval.go:161
↓ 3 callers
Method
fixUp
fixUp ensures that black link balance is correct, that red nodes lean left, and that 4 nodes are split in the case of BU23 and properly balanced in TD
interval/int_interval.go:120
↓ 3 callers
Method
isKDTree
()
kdtree/kdtree_test.go:129
↓ 3 callers
Function
min
(a, b int)
kdtree/medians.go:73
↓ 3 callers
Function
newVector
(start, end, cap int, zero Equaler)
step/step_test.go:1291
↓ 2 callers
Method
Ceil
Ceil returns the smallest value equal to or greater than the query q according to q.Start().Compare(), with ties broken by comparison of ID() values.
interval/interval.go:508
↓ 2 callers
Method
Ceil
Ceil returns the smallest value equal to or greater than the query q according to q.Start().Compare(), with ties broken by comparison of ID() values.
interval/int_interval.go:471
↓ 2 callers
Method
DeleteMax
DeleteMax deletes the node with the maximum value in the tree. If insertion without replacement has been used, the right-most maximum will be deleted.
llrb/llrb.go:270
↓ 2 callers
Method
Do
Do performs fn on all values stored in the tree. A boolean is returned indicating whether the Do traversal was interrupted by an Operation returning t
llrb/llrb.go:445
↓ 2 callers
Method
Extend
Extend returns a bounding box that has been extended to include the receiver. Extend may return nil.
kdtree/kdtree.go:67
↓ 2 callers
Method
Floor
Floor returns the largest value equal to or less than the query q according to q.Start().Compare(), with ties broken by comparison of ID() values.
interval/interval.go:469
↓ 2 callers
Method
Floor
Floor returns the largest value equal to or less than the query q according to q.Start().Compare(), with ties broken by comparison of ID() values.
interval/int_interval.go:432
↓ 2 callers
Method
Get
Get returns a slice of IntInterfaces that overlap q in the IntTree according to q.Overlap().
interval/int_interval.go:180
↓ 2 callers
Method
Index
Index returns the ith element of the list of points.
kdtree/kdtree.go:17
↓ 2 callers
Method
Item
(int)
interval/landscape/landscape.go:128
↓ 2 callers
Method
Max
Return the right-most interval stored in the tree.
interval/interval.go:454
↓ 2 callers
Method
Max
Return the right-most interval stored in the tree.
interval/int_interval.go:417
↓ 2 callers
Method
Min
Return the left-most interval stored in the tree.
interval/int_interval.go:403
↓ 2 callers
Method
Pop
()
kdtree/kdtree.go:302
↓ 2 callers
Method
Push
(x interface{})
kdtree/kdtree.go:301
↓ 2 callers
Method
applyRange
(start, end int, m Mutator)
step/step_test.go:1318
↓ 2 callers
Function
checkTree
(t *Tree, c *check.C, f string, i ...interface{})
llrb/llrb_test.go:780
↓ 2 callers
Method
deleteMin
()
llrb/llrb.go:254
↓ 2 callers
Method
deleteMin
(fast bool)
interval/interval.go:331
↓ 2 callers
Method
deleteMin
(fast bool)
interval/int_interval.go:292
↓ 2 callers
Method
do
(fn Operation, depth int)
kdtree/kdtree.go:414
↓ 2 callers
Method
isPartitioned
(pivot Comparable, fn compFn, plane Dim)
kdtree/kdtree_test.go:147
↓ 2 callers
Function
max
(a, b Comparable)
interval/interval_test.go:283
↓ 2 callers
Function
min
(a, b Comparable)
interval/interval_test.go:276
↓ 2 callers
Method
min
()
llrb/llrb.go:358
↓ 2 callers
Method
min
()
interval/interval.go:447
↓ 2 callers
Method
min
()
interval/int_interval.go:410
↓ 2 callers
Method
moveRedLeft
()
llrb/llrb.go:131
↓ 2 callers
Method
moveRedLeft
()
interval/interval.go:192
↓ 2 callers
Method
moveRedLeft
()
interval/int_interval.go:151
↓ 2 callers
Method
moveRedRight
()
llrb/llrb.go:144
↓ 2 callers
Method
moveRedRight
()
interval/interval.go:205
↓ 2 callers
Method
moveRedRight
()
interval/int_interval.go:164
↓ 2 callers
Function
nearestN
(n int, q Point, p Points)
kdtree/kdtree_test.go:260
↓ 1 callers
Method
Apply
Apply applies the mutator function m to steps stored in the Vector in ascending sort order of start position. Redundant steps resulting from changes i
step/step.go:455
↓ 1 callers
Method
Bounds
()
kdtree/kdtree.go:31
↓ 1 callers
Method
Delete
Delete deletes the element e if it exists in the IntTree.
interval/int_interval.go:344
↓ 1 callers
Method
DeleteMax
DeleteMax deletes the right-most interval.
interval/int_interval.go:310
↓ 1 callers
Method
DeleteMin
DeleteMin deletes the left-most interval.
interval/int_interval.go:279
↓ 1 callers
Function
Describe
Describe calculates the persistence landscape functions λₖ for the interval data in the provided Interface. fn is called for each position t of the sp
interval/landscape/landscape.go:136
↓ 1 callers
Function
DescribeTree
DescribeTree calculates the persistence landscape functions λₖ for the interval data in the provided interval tree. fn is called for each position t o
interval/landscape/landscape.go:60
↓ 1 callers
Method
Do
Do performs fn on all values stored in the tree. A boolean is returned indicating whether the Do traversal was interrupted by an Operation returning t
kdtree/kdtree.go:407
↓ 1 callers
Method
DoBounded
DoBounded performs fn on all values stored in the tree that are within the specified bound. If b is nil, the result is the same as a Do. A boolean is
kdtree/kdtree.go:435
↓ 1 callers
Method
DoMatching
DoMatch performs fn on all intervals stored in the tree that match q according to Overlap, with q.Overlap() used to guide tree traversal, so DoMatchin
interval/interval.go:610
↓ 1 callers
Method
DoRange
DoRange performs fn on all values stored in the tree over the interval [from, to) from left to right. If to is less than from DoRange will panic. A bo
llrb/llrb.go:500
↓ 1 callers
Method
DoRangeReverse
DoRangeReverse performs fn on all values stored in the tree over the interval (to, from] from right to left. If from is less than to DoRange will pani
llrb/llrb.go:534
↓ 1 callers
Method
DoReverse
DoReverse performs fn on all values stored in the tree, but in reverse of sort order. A boolean is returned indicating whether the Do traversal was in
llrb/llrb.go:472
↓ 1 callers
Function
Flatten
Flatten all overlapping intervals, storing originals as sub-intervals.
interval/do_example_test.go:28
↓ 1 callers
Method
Keep
Keep add c to the heap if its distance is less than the maximum value of the heap. If adding c would increase the size of the heap beyond the initial
kdtree/kdtree.go:320
↓ 1 callers
Method
Keep
(ComparableDist)
kdtree/kdtree.go:348
↓ 1 callers
Method
Len
Len returns the number of elements in the tree.
kdtree/kdtree.go:224
↓ 1 callers
Method
Len
()
kdtree/points.go:66
↓ 1 callers
Method
Less
(i, j int)
kdtree/kdtree.go:299
↓ 1 callers
Function
Merge
Merge an interval into the tree, replacing overlapping intervals, but retaining them as sub intervals.
interval/domatching_example_test.go:14
↓ 1 callers
Function
NewDistKeeper
NewDistKeeper returns an DistKeeper with the max value of the heap set to d.
kdtree/kdtree.go:336
↓ 1 callers
Method
NewMutable
Returns a unique ID for the element.
interval/interval.go:50
↓ 1 callers
Method
adjustRanges
()
interval/interval.go:237
↓ 1 callers
Method
adjustRanges
()
interval/int_interval.go:196
↓ 1 callers
Method
bounding
(m IntRange)
interval/int_interval_test.go:126
↓ 1 callers
Method
bounding
(m Mutable)
interval/interval_test.go:133
↓ 1 callers
Function
buildBounded
(p bounder, plane Dim, bounding bool)
kdtree/kdtree.go:141
↓ 1 callers
Method
ceil
(q Comparable)
llrb/llrb.go:420
↓ 1 callers
Method
ceil
(m Comparable, id uintptr)
interval/interval.go:519
↓ 1 callers
Method
ceil
(m int, id uintptr)
interval/int_interval.go:482
↓ 1 callers
Method
delete
(e Comparable)
llrb/llrb.go:316
↓ 1 callers
Method
delete
(min Comparable, id uintptr, fast bool)
interval/interval.go:400
↓ 1 callers
Method
delete
(m int, id uintptr, fast bool)
interval/int_interval.go:361
↓ 1 callers
Method
deleteMax
()
llrb/llrb.go:283
↓ 1 callers
Method
deleteMax
(fast bool)
interval/interval.go:362
↓ 1 callers
Method
deleteMax
(fast bool)
interval/int_interval.go:323
↓ 1 callers
Function
deleteRangeInclusive
deleteRangeInclusive deletes all steps within the given range. Note that llrb.(*Tree).DoRange does not operate on the node matching the end of a range
step/step.go:362
↓ 1 callers
Method
do
(fn Operation)
llrb/llrb.go:452
↓ 1 callers
Method
do
(fn Operation)
interval/interval.go:560
↓ 1 callers
Method
do
(fn IntOperation)
interval/int_interval.go:523
↓ 1 callers
Method
doBounded
(fn Operation, b *Bounding, depth int)
kdtree/kdtree.go:445
↓ 1 callers
Method
doMatch
(fn Operation, q Comparable)
llrb/llrb.go:577
↓ 1 callers
Method
doRange
(fn Operation, lo, hi Comparable)
llrb/llrb.go:510
↓ 1 callers
Method
doRangeReverse
(fn Operation, hi, lo Comparable)
llrb/llrb.go:544
↓ 1 callers
Method
doReverse
(fn Operation)
llrb/llrb.go:479
↓ 1 callers
Method
doReverse
(fn Operation)
interval/interval.go:587
↓ 1 callers
Method
doReverse
(fn IntOperation)
interval/int_interval.go:550
← previous
next →
101–200 of 516, ranked by callers