MCPcopy Create free account

hub / github.com/bighuang624/Algorithms-notes / functions

Functions794 in github.com/bighuang624/Algorithms-notes

↓ 2 callersMethodreadAllDoubles
Reads all remaining tokens from this input stream, parses them as doubles, and returns them as an array of doubles. @return all remaining lines in th
code/algs4/In.java:467
↓ 2 callersMethodreadDouble
Reads the next token from this input stream, parses it as a {@code double}, and returns the {@code double}. @return the next {@code double} in this i
code/algs4/In.java:338
↓ 2 callersMethodresize
(int cap)
code/chapter3_4_Hash_Tables/LinearProbingHashST.java:31
↓ 2 callersMethodresize
(int capacity)
code/algs4/MinPQ.java:140
↓ 2 callersMethodresize
(int max)
code/chapter3_1_Symbol_Tables/BinarySearchST.java:15
↓ 2 callersMethodresize
(int max)
code/chapter1_3_Bags_Queues_Stacks/ResizingArrayStack.java:14
↓ 2 callersMethodreversePost
()
code/chapter4_2_Directed_Graphs/DepthFirstOrder.java:42
↓ 2 callersMethodselect
(int i)
code/chapter6_3_Suffix_Arrays/SuffixArray.java:25
↓ 2 callersMethodshow
Displays the picture in a window on the screen.
code/algs4/Picture.java:190
↓ 2 callersMethodsink
Helper functions to restore the heap invariant.
code/algs4/Heap.java:59
↓ 2 callersMethodsink
(int k)
code/algs4/MinPQ.java:193
↓ 2 callersMethodsize
Returns the number of key-value pairs in this symbol table. @return the number of key-value pairs in this symbol table
code/algs4/ST.java:124
↓ 2 callersMethodsquare
Draws a square of side length 2r, centered at (<em>x</em>, <em>y</em>). @param x the <em>x</em>-coordinate of the center of the square @param y the
code/algs4/StdDraw.java:1106
↓ 2 callersMethodtext
Write the given text string in the current font, centered at (<em>x</em>, <em>y</em>). @param x the center <em>x</em>-coordinate of the text @param
code/algs4/StdDraw.java:1454
↓ 2 callersMethodtext
Writes the given text string in the current font, centered on (x, y). @param x the center x-coordinate of the text @param y the center y-coordinate o
code/algs4/Draw.java:975
↓ 2 callersMethodtimeRandomInput
(String alg, int N, int T)
code/chapter2_1_Elementary_Sorts/SortCompare.java:30
↓ 2 callersMethodtimeTrial
(int N)
code/chapter1_4_Analysis_of_Algorithms/DoublingRatio.java:8
↓ 2 callersMethodtoString
Returns a string representation of this set. @return a string representation of this set, enclosed in curly braces, with adjacent keys separa
code/algs4/SET.java:271
↓ 2 callersMethodunion
(int p, int q)
code/chapter4_3_Minimum_Spanning_Tree/UF.java:55
↓ 2 callersMethodvalidateCol
(int col)
code/algs4/Picture.java:244
↓ 2 callersMethodvalidateRow
(int row)
code/algs4/Picture.java:239
↓ 2 callersMethodweight
()
code/chapter4_3_Minimum_Spanning_Tree/PrimMST.java:51
↓ 2 callersMethodweight
()
code/chapter4_4_Shortest_Paths/DirectedEdge.java:18
↓ 1 callersMethodF
(int N)
code/chapter1_1_Programming_Model/Ex19.java:10
↓ 1 callersMethodG
()
code/chapter4_2_Directed_Graphs/SymbolDigraph.java:52
↓ 1 callersMethodaddDataValue
(double val)
code/chapter1_2_Data_Abstraction/VisualAccumulator.java:15
↓ 1 callersMethodaddDataValue
(double val)
code/chapter1_2_Data_Abstraction/Accumulator.java:6
↓ 1 callersMethodaddEdge
(Edge e)
code/chapter4_3_Minimum_Spanning_Tree/EdgeWeightedGraph.java:44
↓ 1 callersMethodaddEdge
(DirectedEdge e)
code/chapter4_4_Shortest_Paths/EdgeWeightedDigraph.java:41
↓ 1 callersMethodadj
(int v)
code/chapter4_4_Shortest_Paths/EdgeWeightedDigraph.java:46
↓ 1 callersMethodarc
Draws a circular arc of the specified radius, centered at (<em>x</em>, <em>y</em>), from angle1 to angle2 (in degrees). @param x the <em>x</em>-coor
code/algs4/StdDraw.java:1086
↓ 1 callersMethodarc
Draws an arc of radius r, centered on (x, y), from angle1 to angle2 (in degrees). @param x the x-coordinate of the center of the circle @param y th
code/algs4/Draw.java:687
↓ 1 callersMethodarrReverse
(int[][] arr)
code/chapter1_1_Programming_Model/Ex13.java:22
↓ 1 callersMethodbfs
(Graph G, int s)
code/chapter4_1_Undirected_Graphs/BreadthFirstPaths.java:18
↓ 1 callersMethodccw
Returns true if a→b→c is a counterclockwise turn. @param a first point @param b second point @param c third point @return { -1, 0, +1 } if a→b→c is a
code/algs4/Point2D.java:120
↓ 1 callersMethodchangeKey
Change the key associated with index {@code i} to the specified value. @param i the index of the key to change @param key change the key associated
code/algs4/IndexMinPQ.java:181
↓ 1 callersMethodcircle
Draws a circle of radius r, centered on (x, y). @param x the x-coordinate of the center of the circle @param y the y-coordinate of the center of th
code/algs4/Draw.java:604
↓ 1 callersMethodclear
Clears the screen to the default color (white).
code/algs4/StdDraw.java:805
↓ 1 callersMethodclear
Clears the screen to the default color (white).
code/algs4/Draw.java:414
↓ 1 callersMethodclose
Closes this input stream.
code/algs4/In.java:480
↓ 1 callersMethodcompare
(Point2D p, Point2D q)
code/algs4/Point2D.java:209
↓ 1 callersMethodconnected
(int p, int q)
code/chapter1_5_Case_Study_Union_Find/UF.java:22
↓ 1 callersMethodcontains
(Key key)
code/chapter3_4_Hash_Tables/LinearProbingHashST.java:63
↓ 1 callersMethodcontains
(String key)
code/chapter4_2_Directed_Graphs/SymbolDigraph.java:37
↓ 1 callersMethodcontains
(int key)
code/chapter1_2_Data_Abstraction/StaticSETofInts.java:14
↓ 1 callersMethodcreateMenuBar
()
code/algs4/StdDraw.java:703
↓ 1 callersMethodcreateMenuBar
()
code/algs4/Draw.java:347
↓ 1 callersMethodcycle
(Object[] a)
code/chapter1_1_Programming_Model/Sattolo.java:10
↓ 1 callersMethodday
()
code/chapter1_2_Data_Abstraction/Date.java:16
↓ 1 callersMethoddeleteMin
()
code/chapter3_2_Binary_Search_Trees/BST.java:146
↓ 1 callersMethoddfs
(Digraph G, int v)
code/chapter4_2_Directed_Graphs/DirectedCycle.java:21
↓ 1 callersMethoddfs
(Digraph G, int v)
code/chapter4_2_Directed_Graphs/KosarajuSCC.java:22
↓ 1 callersMethoddfs
(Digraph G, int v)
code/chapter4_2_Directed_Graphs/DepthFirstOrder.java:23
↓ 1 callersMethoddfs
(Graph G, int v)
code/chapter4_1_Undirected_Graphs/TwoColor.java:19
↓ 1 callersMethoddfs
(Graph G, int v)
code/chapter4_1_Undirected_Graphs/CC.java:22
↓ 1 callersMethoddfs
(Graph G, int v)
code/chapter4_1_Undirected_Graphs/DepthFirstPaths.java:22
↓ 1 callersMethoddfs
(Graph G, int v, int u)
code/chapter4_1_Undirected_Graphs/Cycle.java:17
↓ 1 callersMethoddfs
(Graph G, int v)
code/chapter4_1_Undirected_Graphs/DepthFirstSearch.java:12
↓ 1 callersMethoddistTo
(int v)
code/chapter4_4_Shortest_Paths/DijkstraSP.java:42
↓ 1 callersMethoddrawTo
Plot a line from this point to that point using standard draw. @param that the other point
code/algs4/Point2D.java:326
↓ 1 callersMethodedges
()
code/chapter4_3_Minimum_Spanning_Tree/KruskalMST.java:26
↓ 1 callersMethodedges
()
code/chapter4_3_Minimum_Spanning_Tree/PrimMST.java:47
↓ 1 callersMethodexch
(Comparable[] a, int i, int j)
code/chapter2_1_Elementary_Sorts/Selection.java:29
↓ 1 callersMethodexch
(Comparable[] a, int i, int j)
code/chapter2_1_Elementary_Sorts/Insertion.java:27
↓ 1 callersMethodexch
(Comparable[] a, int i, int j)
code/chapter2_1_Elementary_Sorts/Shell.java:33
↓ 1 callersMethodexists
Returns true if this input stream exists. @return {@code true} if this input stream exists; {@code false} otherwise
code/algs4/In.java:218
↓ 1 callersMethodexp
Returns a random real number from an exponential distribution with rate &lambda;. @param lambda the rate of the exponential distribution @return a r
code/algs4/StdRandom.java:382
↓ 1 callersMethodfilledPolygon
Draws a polygon with the vertices (<em>x</em><sub>0</sub>, <em>y</em><sub>0</sub>), (<em>x</em><sub>1</sub>, <em>y</em><sub>1</sub>), ..., (<em>x</em>
code/algs4/StdDraw.java:1218
↓ 1 callersMethodfilledPolygon
Draws a filled polygon with the given (x[i], y[i]) coordinates. @param x an array of all the x-coordindates of the polygon @param y an array of all t
code/algs4/Draw.java:803
↓ 1 callersMethodfilledSquare
Draws a filled square of side length 2r, centered on (x, y). @param x the x-coordinate of the center of the square @param y the y-coordinate of the
code/algs4/Draw.java:726
↓ 1 callersMethodgaussian
Returns a random real number from a standard Gaussian distribution. @return a random real number from a standard Gaussian distribution (mean
code/algs4/StdRandom.java:201
↓ 1 callersMethodget
(int i)
code/chapter3_5_Searching_Applications/SparseVector.java:20
↓ 1 callersMethodget
(Key key)
code/chapter3_4_Hash_Tables/LinearProbingHashST.java:56
↓ 1 callersMethodgetJLabel
Returns a JLabel containing this picture, for embedding in a JPanel, JFrame or other GUI widget. @return the {@code JLabel}
code/algs4/Picture.java:167
↓ 1 callersMethodgetSeed
Returns the seed of the pseudorandom number generator. @return the seed
code/algs4/StdRandom.java:100
↓ 1 callersMethodhasNext
()
code/algs4/Stack.java:156
↓ 1 callersMethodhasNext
()
code/algs4/IndexMinPQ.java:319
↓ 1 callersMethodhasNext
()
code/algs4/Queue.java:151
↓ 1 callersMethodhasNext
()
code/algs4/MinPQ.java:260
↓ 1 callersMethodhasNext
()
code/chapter1_3_Bags_Queues_Stacks/ResizingArrayStack.java:40
↓ 1 callersMethodhistogram
(int[] a, int M)
code/chapter1_1_Programming_Model/Ex15.java:16
↓ 1 callersMethodid
(int v)
code/chapter4_1_Undirected_Graphs/CC.java:34
↓ 1 callersMethodindex
(int i)
code/chapter6_3_Suffix_Arrays/SuffixArray.java:29
↓ 1 callersMethodinsertSort
(Comparable[] a, int lo, int hi)
code/chapter2_3_Quicksort/Ex25.java:47
↓ 1 callersMethodisSorted
Check if array is sorted - useful for debugging.
code/algs4/Heap.java:92
↓ 1 callersMethodkeyTyped
Invoked when a key has been typed. @param c the character typed
code/algs4/DrawListener.java:42
↓ 1 callersMethodlcp
(String s, String t)
code/chapter6_3_Suffix_Arrays/SuffixArray.java:33
↓ 1 callersMethodlg
(int N)
code/chapter1_1_Programming_Model/Ex14.java:13
↓ 1 callersMethodln10
(int N)
code/chapter1_1_Programming_Model/Ex20.java:13
↓ 1 callersMethodlongRandomPrime
Exercise 5.3.33
code/chapter5_3_Substring_Search/RabinKarp.java:59
↓ 1 callersMethodmarked
(int w)
code/chapter4_1_Undirected_Graphs/DepthFirstSearch.java:20
↓ 1 callersMethodmax
(Counter x, Counter y)
code/chapter1_2_Data_Abstraction/FlipsMax.java:9
↓ 1 callersMethodmean
()
code/chapter1_2_Data_Abstraction/Accumulator.java:10
↓ 1 callersMethodmerge
(Comparable[] a, int lo, int mid, int hi)
code/chapter2_2_Mergesort/MergeBU.java:22
↓ 1 callersMethodmerge
(Comparable[] a, int lo, int mid, int hi)
code/chapter2_2_Mergesort/Merge.java:29
↓ 1 callersMethodmonth
()
code/chapter1_2_Data_Abstraction/Date.java:13
↓ 1 callersMethodmouseDragged
Invoked when the mouse has been dragged. @param x the x-coordinate of the mouse @param y the y-coordinate of the mouse
code/algs4/DrawListener.java:27
↓ 1 callersMethodmousePressed
Invoked when the mouse has been pressed. @param x the x-coordinate of the mouse @param y the y-coordinate of the mouse
code/algs4/DrawListener.java:19
↓ 1 callersMethodmouseReleased
Invoked when the mouse has been released. @param x the x-coordinate of the mouse @param y the y-coordinate of the mouse
code/algs4/DrawListener.java:35
↓ 1 callersMethodn2
(int n)
code/chapter1_1_Programming_Model/Ex14.java:21
← previousnext →201–300 of 794, ranked by callers