MCPcopy Create free account

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

Functions794 in github.com/bighuang624/Algorithms-notes

↓ 1 callersMethodname
(int v)
code/chapter4_2_Directed_Graphs/SymbolDigraph.java:47
↓ 1 callersMethodnext
()
code/chapter1_3_Bags_Queues_Stacks/ResizingArrayStack.java:43
↓ 1 callersMethodorder
()
code/chapter4_2_Directed_Graphs/Topological.java:19
↓ 1 callersMethodpartition
(Comparable[] a, int lo, int hi)
code/chapter2_3_Quicksort/Quick.java:25
↓ 1 callersMethodpartition
(Comparable[] a, int lo, int hi)
code/chapter2_3_Quicksort/Ex25.java:55
↓ 1 callersMethodpathTo
(int v)
code/chapter4_1_Undirected_Graphs/DepthFirstPaths.java:35
↓ 1 callersMethodpathTo
(int v)
code/chapter4_1_Undirected_Graphs/BreadthFirstPaths.java:37
↓ 1 callersMethodpathTo
(int v)
code/chapter4_4_Shortest_Paths/DijkstraSP.java:50
↓ 1 callersMethodpolarOrder
Compares two points by polar angle (between 0 and 2pi) with respect to this point. @return the comparator
code/algs4/Point2D.java:185
↓ 1 callersMethodpop
Removes and returns the item most recently added to this stack. @return the item most recently added @throws NoSuchElementException if this stack is
code/algs4/Stack.java:104
↓ 1 callersMethodprint
Flushes this output stream.
code/algs4/Out.java:190
↓ 1 callersMethodprintBoolArr
(boolean[][] arr)
code/chapter1_1_Programming_Model/Ex11.java:25
↓ 1 callersMethodprintf
Prints a formatted string to this output stream, using the specified format string and arguments, and then flushes this output stream. @param format
code/algs4/Out.java:281
↓ 1 callersMethodrank
(String key)
code/chapter6_3_Suffix_Arrays/SuffixArray.java:45
↓ 1 callersMethodrank
(int key, int[] a)
code/chapter1_1_Programming_Model/BinarySearch.java:12
↓ 1 callersMethodrank
(int key)
code/chapter1_2_Data_Abstraction/StaticSETofInts.java:17
↓ 1 callersMethodreadAllDoubles
Reads all remaining tokens from standard input, parses them as doubles, and returns them as an array of doubles. @return all remaining doubles on stan
code/algs4/StdIn.java:473
↓ 1 callersMethodreadAllInts
Reads all remaining tokens from standard input, parses them as integers, and returns them as an array of integers. @return all remaining integers on s
code/algs4/StdIn.java:445
↓ 1 callersMethodreadBoolean
Reads the next token from standard input, parses it as a boolean, and returns the boolean. @return the next boolean on standard input @throws NoSuchE
code/algs4/StdIn.java:399
↓ 1 callersMethodreadChar
Reads and returns the next character in this input stream. @return the next character in this input stream
code/algs4/In.java:287
↓ 1 callersMethodreadDouble
Reads the next token from standard input, parses it as a double, and returns the double. @return the next double on standard input @throws NoSuchElem
code/algs4/StdIn.java:341
↓ 1 callersMethodreadInt
Reads the next 32 bits from standard input and return as a 32-bit int. @return the next 32 bits of data from standard input as a {@code int} @throws
code/algs4/BinaryStdIn.java:194
↓ 1 callersMethodreadLong
Reads the next 64 bits from standard input and return as a 64-bit long. @return the next 64 bits of data from standard input as a {@code long} @throw
code/algs4/BinaryStdIn.java:233
↓ 1 callersMethodrectangle
Draws a rectangle of the specified size, centered at (<em>x</em>, <em>y</em>). @param x the <em>x</em>-coordinate of the center of the rectangle @pa
code/algs4/StdDraw.java:1146
↓ 1 callersMethodrelax
(EdgeWeightedDigraph G, int v)
code/chapter4_4_Shortest_Paths/DijkstraSP.java:28
↓ 1 callersMethodresync
If StdIn changes, use this to reinitialize the scanner.
code/algs4/StdIn.java:492
↓ 1 callersMethodreverse
()
code/chapter4_2_Directed_Graphs/Digraph.java:50
↓ 1 callersMethodsave
Saves the drawing to using the specified filename. The supported image formats are JPEG and PNG; the filename suffix must be {@code .jpg} or {@code .p
code/algs4/StdDraw.java:1616
↓ 1 callersMethodsave
Saves this drawing to a file. @param filename the name of the file (with suffix png, jpg, or gif)
code/algs4/Draw.java:1070
↓ 1 callersMethodsave
Saves the picture to a file in a standard image format. The filetype must be .png or .jpg. @param name the name of the file
code/algs4/Picture.java:317
↓ 1 callersMethodsearch
(String txt)
code/chapter5_3_Substring_Search/RabinKarp.java:41
↓ 1 callersMethodsearch
(String txt)
code/chapter5_3_Substring_Search/BoyerMoore.java:27
↓ 1 callersMethodsearch
(String txt)
code/chapter5_3_Substring_Search/KMP.java:28
↓ 1 callersMethodsetArrBoolean
(boolean[][] arr)
code/chapter1_1_Programming_Model/Ex30.java:21
↓ 1 callersMethodsetCanvasSize
Sets the canvas (drawing area) to be 512-by-512 pixels. This also erases the current drawing and resets the coordinate system, pen radius, pen color,
code/algs4/StdDraw.java:636
↓ 1 callersMethodsetCanvasSize
Sets the canvas (drawing area) to be <em>width</em>-by-<em>height</em> pixels. This also erases the current drawing and resets the coordinate system,
code/algs4/Draw.java:336
↓ 1 callersMethodsetScanner
(Scanner scanner)
code/algs4/StdIn.java:496
↓ 1 callersMethodsetSeed
Sets the seed of the pseudorandom number generator. This method enables you to produce the same sequence of "random" number for each execution of the
code/algs4/StdRandom.java:90
↓ 1 callersMethodsetXscale
Sets the x-scale to be the default (between 0.0 and 1.0).
code/algs4/Draw.java:367
↓ 1 callersMethodsetYscale
Sets the y-scale to be the default (between 0.0 and 1.0).
code/algs4/Draw.java:374
↓ 1 callersMethodshow
Displays on screen, pause for {@code t} milliseconds, and turn on <em>animation mode</em>. Subsequent calls to drawing methods such as {@code line()},
code/algs4/Draw.java:1035
↓ 1 callersMethodshow
(Comparable[] a)
code/algs4/Heap.java:100
↓ 1 callersMethodsink
(int k)
code/chapter2_4_Priority_Queues/MaxPQ.java:60
↓ 1 callersMethodsize
Returns the number of items in this bag. @return the number of items in this bag
code/algs4/Bag.java:87
↓ 1 callersMethodsize
Returns the number of items in this stack. @return the number of items in this stack
code/algs4/Stack.java:81
↓ 1 callersMethodsize
Returns the number of items in this queue. @return the number of items in this queue
code/algs4/Queue.java:75
↓ 1 callersMethodsize
()
code/chapter1_3_Bags_Queues_Stacks/ResizingArrayStack.java:11
↓ 1 callersMethodsort
(Comparable[] a)
code/chapter2_3_Quicksort/Quick3way.java:12
↓ 1 callersMethodsort
(Comparable[] a)
code/chapter2_1_Elementary_Sorts/Selection.java:11
↓ 1 callersMethodsort
(Comparable[] a)
code/chapter2_1_Elementary_Sorts/Insertion.java:11
↓ 1 callersMethodsort
(Comparable[] a)
code/chapter2_1_Elementary_Sorts/Shell.java:11
↓ 1 callersMethodsquare
Draws a 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 center
code/algs4/Draw.java:707
↓ 1 callersMethodswim
(int k)
code/chapter2_4_Priority_Queues/MaxPQ.java:52
↓ 1 callersMethodswim
Helper functions to restore the heap invariant.
code/algs4/MinPQ.java:186
↓ 1 callersMethodtime
(String alg, Comparable[] a)
code/chapter2_1_Elementary_Sorts/SortCompare.java:13
↓ 1 callersMethodtimeTrial
(int N)
code/chapter1_4_Analysis_of_Algorithms/DoublingTest.java:8
↓ 1 callersMethodto
()
code/chapter4_4_Shortest_Paths/DirectedEdge.java:26
↓ 1 callersMethodtoChar
Returns the character corresponding to the argument index. @param index the index @return the character corresponding to the index {@code index} @th
code/algs4/Alphabet.java:216
↓ 1 callersMethodtoIndex
Returns the index corresponding to the argument character. @param c the character @return the index corresponding to the character {@code c} @throws
code/algs4/Alphabet.java:186
↓ 1 callersMethodunion
(int p, int q)
code/chapter1_5_Case_Study_Union_Find/UF.java:55
↓ 1 callersMethodvisit
(EdgeWeightedGraph G, int v)
code/chapter4_3_Minimum_Spanning_Tree/PrimMST.java:28
↓ 1 callersMethodx
Returns the x-coordinate. @return the x-coordinate
code/algs4/Point2D.java:75
↓ 1 callersMethody
Returns the y-coordinate. @return the y-coordinate
code/algs4/Point2D.java:83
↓ 1 callersMethodyear
()
code/chapter1_2_Data_Abstraction/Date.java:19
MethodAlphabet
Initializes a new alphabet from the given set of characters. @param alpha the set of characters
code/algs4/Alphabet.java:90
MethodBag
Initializes an empty bag.
code/algs4/Bag.java:67
MethodBinarySearch
This class should not be instantiated.
code/algs4/BinarySearch.java:47
MethodBinarySearchST
(int capacity)
code/chapter3_1_Symbol_Tables/BinarySearchST.java:10
MethodBinaryStdIn
()
code/algs4/BinaryStdIn.java:51
MethodBinaryStdOut
()
code/algs4/BinaryStdOut.java:42
MethodBoyerMoore
(String pat)
code/chapter5_3_Substring_Search/BoyerMoore.java:15
MethodBreadthFirstPaths
(Graph G, int s)
code/chapter4_1_Undirected_Graphs/BreadthFirstPaths.java:11
MethodCC
(Graph G)
code/chapter4_1_Undirected_Graphs/CC.java:12
MethodCounter
Initializes a new counter starting at 0, with the given id. @param id the name of the counter
code/algs4/Counter.java:43
MethodCycle
(Graph G)
code/chapter4_1_Undirected_Graphs/Cycle.java:10
MethodDate
(int m, int d, int y)
code/chapter1_2_Data_Abstraction/Date.java:8
MethodDepthFirstOrder
(Digraph G)
code/chapter4_2_Directed_Graphs/DepthFirstOrder.java:12
MethodDepthFirstPaths
(Graph G, int s)
code/chapter4_1_Undirected_Graphs/DepthFirstPaths.java:15
MethodDepthFirstSearch
(Graph G, int s)
code/chapter4_1_Undirected_Graphs/DepthFirstSearch.java:7
MethodDigraph
(int V)
code/chapter4_2_Directed_Graphs/Digraph.java:12
MethodDijkstraSP
(EdgeWeightedDigraph G, int s)
code/chapter4_4_Shortest_Paths/DijkstraSP.java:15
MethodDirectedCycle
(Digraph G)
code/chapter4_2_Directed_Graphs/DirectedCycle.java:11
MethodDirectedDFS
(Digraph G, int s)
code/chapter4_2_Directed_Graphs/DirectedDFS.java:13
MethodDirectedEdge
(int v, int w, double weight)
code/chapter4_4_Shortest_Paths/DirectedEdge.java:12
MethodDraw
Initializes an empty drawing object with the given name. @param name the title of the drawing window.
code/algs4/Draw.java:247
MethodE
()
code/chapter4_2_Directed_Graphs/Digraph.java:37
MethodE
()
code/chapter4_1_Undirected_Graphs/Graph.java:32
MethodE
()
code/chapter4_3_Minimum_Spanning_Tree/EdgeWeightedGraph.java:40
MethodE
()
code/chapter4_4_Shortest_Paths/EdgeWeightedDigraph.java:37
MethodEdge
(int v, int w, double weight)
code/chapter4_3_Minimum_Spanning_Tree/Edge.java:11
MethodEdgeWeightedDigraph
(int V)
code/chapter4_4_Shortest_Paths/EdgeWeightedDigraph.java:15
MethodEdgeWeightedGraph
(int V)
code/chapter4_3_Minimum_Spanning_Tree/EdgeWeightedGraph.java:14
MethodGraph
(int V)
code/chapter4_1_Undirected_Graphs/Graph.java:11
MethodHeap
()
code/algs4/Heap.java:39
MethodHeapIterator
()
code/algs4/IndexMinPQ.java:313
MethodHeapIterator
()
code/algs4/MinPQ.java:253
MethodHexDump
()
code/algs4/HexDump.java:48
MethodIn
Initializes an input stream from standard input.
code/algs4/In.java:87
MethodIndexMinPQ
Initializes an empty indexed priority queue with indices between {@code 0} and {@code maxN - 1}. @param maxN the keys on this priority queue are inde
code/algs4/IndexMinPQ.java:58
MethodInterval1D
Initializes a closed interval [min, max]. @param min the smaller endpoint @param max the larger endpoint @throws IllegalArgumentException if the mi
code/algs4/Interval1D.java:60
← previousnext →301–400 of 794, ranked by callers