MCPcopy Create free account

hub / github.com/biogo/store / functions

Functions516 in github.com/biogo/store

↓ 82 callersMethodLen
Len returns the length of the list.
kdtree/kdtree.go:20
↓ 56 callersMethodInsert
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 callersMethodcolor
Helper methods color returns the effect color of a Node. A nil node returns black.
interval/interval.go:90
↓ 48 callersMethodInsert
Insert inserts the Interface e into the Tree. Insertions may replace existing stored intervals.
interval/interval.go:249
↓ 43 callersMethodCompare
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 callersMethodcolor
Helper methods color returns the effect color of a Node. A nil node returns black.
llrb/llrb.go:76
↓ 34 callersMethodStart
Return a Comparable equal to the start value of the Overlapper.
interval/interval.go:40
↓ 30 callersMethodcolor
Helper methods color returns the effect color of a IntNode. A nil node returns black.
interval/int_interval.go:49
↓ 28 callersMethodRange
()
interval/int_interval.go:26
↓ 27 callersMethodEqual
(Equaler)
step/step.go:63
↓ 22 callersMethodSetRange
SetRange sets the value of positions [start, end) to e.
step/step.go:254
↓ 21 callersFunctionNew
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 callersMethodString
()
step/step_test.go:1348
↓ 19 callersMethodEnd
Return a Comparable equal to the end value of the Overlapper.
interval/interval.go:42
↓ 18 callersMethodFloor
Floor returns the greatest value equal to or less than the query q according to q.Compare().
llrb/llrb.go:380
↓ 18 callersMethodID
()
interval/interval.go:49
↓ 17 callersMethodMax
Keep conditionally pushes the provided ComparableDist onto the heap.
kdtree/kdtree.go:349
↓ 15 callersFunctiondescribeTree
Return a Newick format description of a tree defined by a node
llrb/llrb_test.go:210
↓ 14 callersMethodGet
Get returns a slice of Interfaces that overlap q in the Tree according to q.Overlap().
interval/interval.go:221
↓ 14 callersFunctiondotFile
(t *Tree, label, dotString string)
llrb/llrb_test.go:826
↓ 13 callersMethodDelete
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 callersMethodID
()
interval/int_interval.go:27
↓ 13 callersMethodisRanged
Does every node correctly annotate the range of its children.
interval/int_interval_test.go:110
↓ 13 callersMethodisRanged
Does every node correctly annotate the range of its children.
interval/interval_test.go:117
↓ 12 callersMethodDelete
Delete deletes the element e if it exists in the Tree.
interval/interval.go:383
↓ 12 callersMethodis23_234
Test BU and TD234 invariants.
llrb/llrb_test.go:49
↓ 12 callersMethodisBalanced
Do all paths from root to leaf have same number of black edges?
llrb/llrb_test.go:88
↓ 11 callersFunctionNew
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 callersMethoddescribeTree
Return a Newick format description of a tree defined by a node
interval/interval_test.go:234
↓ 11 callersMethodisBST
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 callersMethodDo
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 callersMethodLen
Len returns the number of elements stored in the Tree.
llrb/llrb.go:154
↓ 10 callersMethodMin
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 callersMethodMin
Return the left-most interval stored in the tree.
interval/interval.go:440
↓ 10 callersMethodOverlap
Overlap returns a boolean indicating whether the receiver overlaps the parameter.
interval/interval.go:34
↓ 10 callersMethodOverlap
Overlap returns a boolean indicating whether the receiver overlaps a range.
interval/int_interval.go:14
↓ 10 callersMethodSet
Set sets the value of position i to e.
step/step.go:156
↓ 10 callersMethoddotFile
(label, dotString string)
interval/int_interval_test.go:704
↓ 10 callersMethoddotFile
(label, dotString string)
interval/interval_test.go:838
↓ 10 callersMethodis23_234
Test BU and TD234 invariants.
interval/int_interval_test.go:43
↓ 10 callersMethodis23_234
Test BU and TD234 invariants.
interval/interval_test.go:50
↓ 10 callersMethodisBST
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 callersMethodisBST
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 callersMethodisBalanced
Do all paths from root to leaf have same number of black edges?
interval/int_interval_test.go:82
↓ 10 callersMethodisBalanced
Do all paths from root to leaf have same number of black edges?
interval/interval_test.go:89
↓ 9 callersMethodSetEnd
Set the start value.
interval/interval.go:57
↓ 9 callersMethodSetStart
(Comparable)
interval/interval.go:56
↓ 8 callersMethodApplyRange
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 callersMethodCeil
Ceil returns the smallest value equal to or greater than the query q according to q.Compare().
llrb/llrb.go:409
↓ 8 callersMethodrotateRight
(a,c)b -rotR-> (,(,c)b)a
llrb/llrb.go:95
↓ 8 callersMethodrotateRight
(a,c)b -rotR-> (,(,c)b)a
interval/interval.go:132
↓ 7 callersMethodDeleteMin
DeleteMin deletes the left-most interval.
interval/interval.go:318
↓ 7 callersMethodDims
Dims returns the number of dimensions described in the Comparable.
kdtree/kdtree.go:53
↓ 7 callersMethodDistance
Distance returns the squared Euclidean distance between the receiver and the parameter.
kdtree/kdtree.go:57
↓ 7 callersMethodGet
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 callersMethodInsert
Insert inserts the IntInterface e into the IntTree. Insertions may replace existing stored intervals.
interval/int_interval.go:208
↓ 7 callersFunctionPartition
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 callersFunctionapplyRange
Benchmarks
step/step_test.go:1527
↓ 7 callersFunctionatFunc
(b *testing.B, coverage float64)
step/step_test.go:1571
↓ 7 callersFunctionbuild
(p Interface, plane Dim)
kdtree/kdtree.go:123
↓ 7 callersMethoddescribeTree
Return a Newick format description of a tree defined by a node
interval/int_interval_test.go:153
↓ 7 callersMethodflipColors
(aR,cR)bB -flipC-> (aB,cB)bR | (aB,cB)bR -flipC-> (aR,cR)bB
llrb/llrb.go:106
↓ 7 callersMethodflipColors
(aR,cR)bB -flipC-> (aB,cB)bR | (aB,cB)bR -flipC-> (aR,cR)bB
interval/interval.go:152
↓ 7 callersMethodflipColors
(aR,cR)bB -flipC-> (aB,cB)bR | (aB,cB)bR -flipC-> (aR,cR)bB
interval/int_interval.go:111
↓ 7 callersMethodrotateRight
(a,c)b -rotR-> (,(,c)b)a
interval/int_interval.go:91
↓ 6 callersMethodLen
Len returns the number of intervals stored in the Tree.
interval/interval.go:215
↓ 6 callersMethodLen
Len returns the number of intervals stored in the IntTree.
interval/int_interval.go:174
↓ 5 callersMethodAdjustRanges
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 callersFunctionMedianOfRandoms
MedianOfRandoms returns the index to the median value of up to n randomly chosen elements in list.
kdtree/medians.go:94
↓ 5 callersMethodStepAt
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 callersMethodSwap
(i, j int)
kdtree/kdtree.go:300
↓ 5 callersFunctiondot
(t *Tree, label string)
llrb/llrb_test.go:794
↓ 5 callersFunctionintMaxRange
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 callersFunctionmakeTree
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 callersFunctionmakeTree
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 callersFunctionmaxRange
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 callersMethodrotateLeft
(a,c)b -rotL-> ((a,)b,)c
llrb/llrb.go:84
↓ 5 callersMethodrotateLeft
(a,c)b -rotL-> ((a,)b,)c
interval/interval.go:112
↓ 4 callersMethodAt
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 callersMethodContains
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 callersMethodDo
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 callersMethodMax
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 callersMethodNearest
Nearest returns the nearest value to the query and the distance between them.
kdtree/kdtree.go:238
↓ 4 callersMethodPivot
Pivot partitions the list based on the dimension specified.
kdtree/kdtree.go:23
↓ 4 callersMethodPop
()
interval/landscape/landscape.go:24
↓ 4 callersMethodPush
(x interface{})
interval/landscape/landscape.go:23
↓ 4 callersFunctionSelect
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 callersMethodSlice
(start, end int)
kdtree/medians.go:34
↓ 4 callersMethodSlice
Slice returns a slice of the list.
kdtree/kdtree.go:26
↓ 4 callersMethodadjustRange
adjustRange sets the Range to the maximum extent of the childrens' Range spans and the node's Elem span.
interval/interval.go:183
↓ 4 callersMethodadjustRange
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 callersFunctionmax
(a, b int)
interval/landscape/landscape.go:41
↓ 4 callersFunctionmin
(a, b int)
interval/landscape/landscape.go:34
↓ 4 callersFunctionnearest
(q Point, p Points)
kdtree/kdtree_test.go:193
↓ 4 callersFunctionreverse
(v []int)
interval/landscape/landscape.go:48
↓ 4 callersMethodrotateLeft
(a,c)b -rotL-> ((a,)b,)c
interval/int_interval.go:71
↓ 3 callersMethodCount
Count returns the number of steps represented in the vector.
step/step.go:132
↓ 3 callersMethodDeleteMax
DeleteMax deletes the right-most interval.
interval/interval.go:349
↓ 3 callersMethodDeleteMin
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 callersMethodDoMatching
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