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
↓ 82 callers
Method
Len
Len returns the length of the list.
kdtree/kdtree.go:20
↓ 56 callers
Method
Insert
Insert inserts the Comparable e into the Tree at the first match found with e or when a nil node is reached. Insertion without replacement can specifi
llrb/llrb.go:191
↓ 52 callers
Method
color
Helper methods color returns the effect color of a Node. A nil node returns black.
interval/interval.go:90
↓ 48 callers
Method
Insert
Insert inserts the Interface e into the Tree. Insertions may replace existing stored intervals.
interval/interval.go:249
↓ 43 callers
Method
Compare
Compare returns a value indicating the sort order relationship between the receiver and the parameter. Given c = a.Compare(b): c < 0 if a < b; c == 0
interval/interval.go:70
↓ 41 callers
Method
color
Helper methods color returns the effect color of a Node. A nil node returns black.
llrb/llrb.go:76
↓ 34 callers
Method
Start
Return a Comparable equal to the start value of the Overlapper.
interval/interval.go:40
↓ 30 callers
Method
color
Helper methods color returns the effect color of a IntNode. A nil node returns black.
interval/int_interval.go:49
↓ 28 callers
Method
Range
()
interval/int_interval.go:26
↓ 27 callers
Method
Equal
(Equaler)
step/step.go:63
↓ 22 callers
Method
SetRange
SetRange sets the value of positions [start, end) to e.
step/step.go:254
↓ 21 callers
Function
New
New returns a new Vector with the extent defined by start and end, and the ground state defined by zero. The Vector's extent is mutable if the Relaxed
step/step.go:100
↓ 20 callers
Method
String
()
step/step_test.go:1348
↓ 19 callers
Method
End
Return a Comparable equal to the end value of the Overlapper.
interval/interval.go:42
↓ 18 callers
Method
Floor
Floor returns the greatest value equal to or less than the query q according to q.Compare().
llrb/llrb.go:380
↓ 18 callers
Method
ID
()
interval/interval.go:49
↓ 17 callers
Method
Max
Keep conditionally pushes the provided ComparableDist onto the heap.
kdtree/kdtree.go:349
↓ 15 callers
Function
describeTree
Return a Newick format description of a tree defined by a node
llrb/llrb_test.go:210
↓ 14 callers
Method
Get
Get returns a slice of Interfaces that overlap q in the Tree according to q.Overlap().
interval/interval.go:221
↓ 14 callers
Function
dotFile
(t *Tree, label, dotString string)
llrb/llrb_test.go:826
↓ 13 callers
Method
Delete
Delete deletes the node that matches e according to Compare(). Note that Compare must identify the target node uniquely and in cases where non-unique
llrb/llrb.go:303
↓ 13 callers
Method
ID
()
interval/int_interval.go:27
↓ 13 callers
Method
isRanged
Does every node correctly annotate the range of its children.
interval/int_interval_test.go:110
↓ 13 callers
Method
isRanged
Does every node correctly annotate the range of its children.
interval/interval_test.go:117
↓ 12 callers
Method
Delete
Delete deletes the element e if it exists in the Tree.
interval/interval.go:383
↓ 12 callers
Method
is23_234
Test BU and TD234 invariants.
llrb/llrb_test.go:49
↓ 12 callers
Method
isBalanced
Do all paths from root to leaf have same number of black edges?
llrb/llrb_test.go:88
↓ 11 callers
Function
New
New returns a k-d tree constructed from the values in p. If p is a Bounder and bounding is true, bounds are determined for each node.
kdtree/kdtree.go:110
↓ 11 callers
Method
describeTree
Return a Newick format description of a tree defined by a node
interval/interval_test.go:234
↓ 11 callers
Method
isBST
Integrity checks - translated from http://www.cs.princeton.edu/~rs/talks/LLRB/Java/RedBlackBST.java Is this tree a BST?
llrb/llrb_test.go:29
↓ 10 callers
Method
Do
Do performs the function fn on steps stored in the Vector in ascending sort order of start position. fn is passed the start, end and value of the step
step/step.go:379
↓ 10 callers
Method
Len
Len returns the number of elements stored in the Tree.
llrb/llrb.go:154
↓ 10 callers
Method
Min
Return the minimum value stored in the tree. This will be the left-most minimum value if insertion without replacement has been used.
llrb/llrb.go:351
↓ 10 callers
Method
Min
Return the left-most interval stored in the tree.
interval/interval.go:440
↓ 10 callers
Method
Overlap
Overlap returns a boolean indicating whether the receiver overlaps the parameter.
interval/interval.go:34
↓ 10 callers
Method
Overlap
Overlap returns a boolean indicating whether the receiver overlaps a range.
interval/int_interval.go:14
↓ 10 callers
Method
Set
Set sets the value of position i to e.
step/step.go:156
↓ 10 callers
Method
dotFile
(label, dotString string)
interval/int_interval_test.go:704
↓ 10 callers
Method
dotFile
(label, dotString string)
interval/interval_test.go:838
↓ 10 callers
Method
is23_234
Test BU and TD234 invariants.
interval/int_interval_test.go:43
↓ 10 callers
Method
is23_234
Test BU and TD234 invariants.
interval/interval_test.go:50
↓ 10 callers
Method
isBST
Integrity checks - translated from http://www.cs.princeton.edu/~rs/talks/LLRB/Java/RedBlackBST.java Is this tree a BST?
interval/int_interval_test.go:23
↓ 10 callers
Method
isBST
Integrity checks - translated from http://www.cs.princeton.edu/~rs/talks/LLRB/Java/RedBlackBST.java Is this tree a BST?
interval/interval_test.go:30
↓ 10 callers
Method
isBalanced
Do all paths from root to leaf have same number of black edges?
interval/int_interval_test.go:82
↓ 10 callers
Method
isBalanced
Do all paths from root to leaf have same number of black edges?
interval/interval_test.go:89
↓ 9 callers
Method
SetEnd
Set the start value.
interval/interval.go:57
↓ 9 callers
Method
SetStart
(Comparable)
interval/interval.go:56
↓ 8 callers
Method
ApplyRange
Apply applies the mutator function m to steps stored in the Vector in over the range [from, to) in ascending sort order of start position. Redundant s
step/step.go:484
↓ 8 callers
Method
Ceil
Ceil returns the smallest value equal to or greater than the query q according to q.Compare().
llrb/llrb.go:409
↓ 8 callers
Method
rotateRight
(a,c)b -rotR-> (,(,c)b)a
llrb/llrb.go:95
↓ 8 callers
Method
rotateRight
(a,c)b -rotR-> (,(,c)b)a
interval/interval.go:132
↓ 7 callers
Method
DeleteMin
DeleteMin deletes the left-most interval.
interval/interval.go:318
↓ 7 callers
Method
Dims
Dims returns the number of dimensions described in the Comparable.
kdtree/kdtree.go:53
↓ 7 callers
Method
Distance
Distance returns the squared Euclidean distance between the receiver and the parameter.
kdtree/kdtree.go:57
↓ 7 callers
Method
Get
Get returns the first match of q in the Tree. If insertion without replacement is used, this is probably not what you want.
llrb/llrb.go:160
↓ 7 callers
Method
Insert
Insert inserts the IntInterface e into the IntTree. Insertions may replace existing stored intervals.
interval/int_interval.go:208
↓ 7 callers
Function
Partition
Partition partitions list such that all elements less than the value at pivot prior to the call are placed before that element and all elements greate
kdtree/medians.go:15
↓ 7 callers
Function
applyRange
Benchmarks
step/step_test.go:1527
↓ 7 callers
Function
atFunc
(b *testing.B, coverage float64)
step/step_test.go:1571
↓ 7 callers
Function
build
(p Interface, plane Dim)
kdtree/kdtree.go:123
↓ 7 callers
Method
describeTree
Return a Newick format description of a tree defined by a node
interval/int_interval_test.go:153
↓ 7 callers
Method
flipColors
(aR,cR)bB -flipC-> (aB,cB)bR | (aB,cB)bR -flipC-> (aR,cR)bB
llrb/llrb.go:106
↓ 7 callers
Method
flipColors
(aR,cR)bB -flipC-> (aB,cB)bR | (aB,cB)bR -flipC-> (aR,cR)bB
interval/interval.go:152
↓ 7 callers
Method
flipColors
(aR,cR)bB -flipC-> (aB,cB)bR | (aB,cB)bR -flipC-> (aR,cR)bB
interval/int_interval.go:111
↓ 7 callers
Method
rotateRight
(a,c)b -rotR-> (,(,c)b)a
interval/int_interval.go:91
↓ 6 callers
Method
Len
Len returns the number of intervals stored in the Tree.
interval/interval.go:215
↓ 6 callers
Method
Len
Len returns the number of intervals stored in the IntTree.
interval/int_interval.go:174
↓ 5 callers
Method
AdjustRanges
AdjustRanges fixes range fields for all Nodes in the Tree. This must be called before Get or DoMatching* is used if fast insertion or deletion has bee
interval/interval.go:230
↓ 5 callers
Function
MedianOfRandoms
MedianOfRandoms returns the index to the median value of up to n randomly chosen elements in list.
kdtree/medians.go:94
↓ 5 callers
Method
StepAt
StepAt returns the value and range of the step at i, where start <= i < end. If i is outside the extent of the vector, an error is returned.
step/step.go:146
↓ 5 callers
Method
Swap
(i, j int)
kdtree/kdtree.go:300
↓ 5 callers
Function
dot
(t *Tree, label string)
llrb/llrb_test.go:794
↓ 5 callers
Function
intMaxRange
intMaxRange returns the furthest right position held by the subtree rooted at root, assuming that the left and right nodes have correct range extents.
interval/int_interval.go:59
↓ 5 callers
Function
makeTree
Build a tree from a simplified Newick format returning the root node. Single letter node names only, no error checking and all nodes are full or leaf.
llrb/llrb_test.go:164
↓ 5 callers
Function
makeTree
Build a tree from a simplified Newick format returning the root node. Single letter node names only, no error checking and all nodes are full or leaf.
interval/interval_test.go:187
↓ 5 callers
Function
maxRange
maxRange returns the furthest right position held by the subtree rooted at root, assuming that the left and right nodes have correct range extents.
interval/interval.go:100
↓ 5 callers
Method
rotateLeft
(a,c)b -rotL-> ((a,)b,)c
llrb/llrb.go:84
↓ 5 callers
Method
rotateLeft
(a,c)b -rotL-> ((a,)b,)c
interval/interval.go:112
↓ 4 callers
Method
At
At returns the value of the vector at position i. If i is outside the extent of the vector an error is returned.
step/step.go:136
↓ 4 callers
Method
Contains
Contains returns whether a Comparable is in the bounds of the tree. If no bounding has been constructed Contains returns true.
kdtree/kdtree.go:228
↓ 4 callers
Method
Do
Do performs fn on all intervals stored in the tree. A boolean is returned indicating whether the Do traversal was interrupted by an Operation returnin
interval/interval.go:553
↓ 4 callers
Method
Max
Return the maximum value stored in the tree. This will be the right-most maximum value if insertion without replacement has been used.
llrb/llrb.go:366
↓ 4 callers
Method
Nearest
Nearest returns the nearest value to the query and the distance between them.
kdtree/kdtree.go:238
↓ 4 callers
Method
Pivot
Pivot partitions the list based on the dimension specified.
kdtree/kdtree.go:23
↓ 4 callers
Method
Pop
()
interval/landscape/landscape.go:24
↓ 4 callers
Method
Push
(x interface{})
interval/landscape/landscape.go:23
↓ 4 callers
Function
Select
Select partitions list such that all elements less than the kth largest element are placed placed before k in the resulting list and all elements grea
kdtree/medians.go:40
↓ 4 callers
Method
Slice
(start, end int)
kdtree/medians.go:34
↓ 4 callers
Method
Slice
Slice returns a slice of the list.
kdtree/kdtree.go:26
↓ 4 callers
Method
adjustRange
adjustRange sets the Range to the maximum extent of the childrens' Range spans and the node's Elem span.
interval/interval.go:183
↓ 4 callers
Method
adjustRange
adjustRange sets the Range to the maximum extent of the childrens' Range spans and the node's Elem span.
interval/int_interval.go:142
↓ 4 callers
Function
max
(a, b int)
interval/landscape/landscape.go:41
↓ 4 callers
Function
min
(a, b int)
interval/landscape/landscape.go:34
↓ 4 callers
Function
nearest
(q Point, p Points)
kdtree/kdtree_test.go:193
↓ 4 callers
Function
reverse
(v []int)
interval/landscape/landscape.go:48
↓ 4 callers
Method
rotateLeft
(a,c)b -rotL-> ((a,)b,)c
interval/int_interval.go:71
↓ 3 callers
Method
Count
Count returns the number of steps represented in the vector.
step/step.go:132
↓ 3 callers
Method
DeleteMax
DeleteMax deletes the right-most interval.
interval/interval.go:349
↓ 3 callers
Method
DeleteMin
DeleteMin deletes the node with the minimum value in the tree. If insertion without replacement has been used, the left-most minimum will be deleted.
llrb/llrb.go:241
↓ 3 callers
Method
DoMatching
DoMatch performs fn on all values stored in the tree that match q according to Compare, with q.Compare() used to guide tree traversal, so DoMatching()
llrb/llrb.go:570
next →
1–100 of 516, ranked by callers