MCPcopy Create free account

hub / github.com/aistrate/AlgorithmsSedgewick / functions

Functions1,619 in github.com/aistrate/AlgorithmsSedgewick

↓ 1 callersMethodrank
(int key, int[] a)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22a.java:8
↓ 1 callersMethodrank
(int key)
1-Fundamentals/1-2-DataAbstraction/StaticSETofInts.java:28
↓ 1 callersMethodrankCheck
()
3-Searching/3-1-SymbolTables/BinarySearchST.java:230
↓ 1 callersMethodre
()
Beyond/Complex.java:92
↓ 1 callersMethodreadBoolean2D
Read in and return an M-by-N array of booleans from standard input.
StdLib/StdArrayIO.java:199
↓ 1 callersMethodreadByte
(String filename)
StdLib/StdAudio.java:170
↓ 1 callersMethodreadChar
Read and return the next character.
StdLib/In.java:169
↓ 1 callersMethodreadDouble
Read the next 64 bits from standard input and return as a 64-bit double. @return the next 64 bits of data from standard input as a <tt>double</tt> @th
StdLib/BinaryStdIn.java:226
↓ 1 callersMethodreadDouble2D
Read in and return an M-by-N array of doubles from standard input.
StdLib/StdArrayIO.java:87
↓ 1 callersMethodreadDoubles
Read doubles from file
StdLib/In.java:263
↓ 1 callersMethodreadFloat
Read the next 32 bits from standard input and return as a 32-bit float. @return the next 32 bits of data from standard input as a <tt>float</tt> @thro
StdLib/BinaryStdIn.java:235
↓ 1 callersMethodreadInt
Read the next 32 bits from the binary input stream and return as a 32-bit int. @return the next 32 bits of data from the binary input stream as a <tt>
StdLib/BinaryIn.java:245
↓ 1 callersMethodreadLong
Read the next 64 bits from the binary input stream and return as a 64-bit long. @return the next 64 bits of data from the binary input stream as a <tt
StdLib/BinaryIn.java:281
↓ 1 callersMethodreadTrie
()
5-Strings/5-5-DataCompression/Huffman.java:161
↓ 1 callersMethodreciprocal
()
Beyond/Complex.java:86
↓ 1 callersMethodreciprocal
()
1-Fundamentals/1-2-DataAbstraction/Rational.java:140
↓ 1 callersMethodrectangle
Draw a rectangle of given half width and half height, centered on (x, y). @param x the x-coordinate of the center of the rectangle @param y the y-coor
StdLib/StdDraw.java:534
↓ 1 callersMethodredraw
(double limit)
6-Context/6-1-EventDrivenSim/CollisionSystem.java:43
↓ 1 callersMethodrelax
(DirectedEdge e)
4-Graphs/4-4-ShortestPaths/DijkstraSP.java:58
↓ 1 callersMethodrelax
(DirectedEdge e)
4-Graphs/4-4-ShortestPaths/AcyclicLP.java:42
↓ 1 callersMethodrelax
(DirectedEdge e)
4-Graphs/4-4-ShortestPaths/AcyclicSP.java:43
↓ 1 callersMethodrelax
(EdgeWeightedDigraph G, int v)
4-Graphs/4-4-ShortestPaths/BellmanFordSP.java:59
↓ 1 callersMethodremove
(DoubleNode node)
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:178
↓ 1 callersMethodremoveAfter
Exercise 1.3.24
1-Fundamentals/1-3-BagsQueuesStacks/List.java:276
↓ 1 callersMethodremoveRec
Recursive solution to Exercise 1.3.26
1-Fundamentals/1-3-BagsQueuesStacks/List.java:206
↓ 1 callersMethodremove_Node
(Node node, Item item)
1-Fundamentals/1-3-BagsQueuesStacks/List.java:212
↓ 1 callersMethodrepeat
(int n, char c)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22b.java:26
↓ 1 callersMethodrepeat
(int n, char c)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22a.java:25
↓ 1 callersMethodreverse
Return the reverse of the digraph.
4-Graphs/4-2-DirectedGraphs/Digraph.java:123
↓ 1 callersMethodreverse
Exercise 1.3.30
1-Fundamentals/1-3-BagsQueuesStacks/List.java:359
↓ 1 callersMethodreverseRec
Recursive solution to Exercise 1.3.30
1-Fundamentals/1-3-BagsQueuesStacks/List.java:383
↓ 1 callersMethodreversed
Used in unit tests, to verify that the list is double-linked correctly.
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:230
↓ 1 callersMethodrotateAxis
(Vector3D axis, double angle)
StdLib/StdDraw3D.java:3687
↓ 1 callersMethodsave
Save onscreen image to file - suffix must be png, jpg, or gif. @param filename the name of the file with one of the required suffixes
StdLib/StdDraw.java:853
↓ 1 callersMethodsave
Save to file - suffix must be png, jpg, or gif. @param filename the name of the file with one of the required suffixes
StdLib/Draw.java:851
↓ 1 callersMethodsave
Saves to file - suffix must be png, jpg, or gif. gif?? @param filename The name of the file with one of the required suffixes.
StdLib/StdDraw3D.java:3461
↓ 1 callersMethodsave
Save the picture to a file in a standard image format. The filetype must be .png or .jpg.
StdLib/Picture.java:225
↓ 1 callersMethodsave3DAction
()
StdLib/StdDraw3D.java:1666
↓ 1 callersMethodsaveAction
()
StdLib/StdDraw3D.java:1692
↓ 1 callersMethodsaveScene3D
(String filename)
StdLib/StdDraw3D.java:3511
↓ 1 callersMethodscalePower
(double power)
StdLib/StdDraw3D.java:4105
↓ 1 callersMethodscan
(EdgeWeightedGraph G, int v)
4-Graphs/4-3-MinSpanningTrees/PrimMST.java:70
↓ 1 callersMethodsearch
(String txt)
5-Strings/5-3-SubstringSearch/RabinKarp.java:83
↓ 1 callersMethodsearch
(Node x, Key key, int ht)
6-Context/6-2-BTrees/BTree.java:55
↓ 1 callersMethodselect
Rearranges the elements in a so that a[k] is the kth smallest element, and a[0] through a[k-1] are less than or equal to a[k], and a[k+1] through a[
2-Sorting/2-3-Quicksort/Quick.java:75
↓ 1 callersMethodsetBackground
Sets the background color to the given color. @param color The color to set the background as.
StdLib/StdDraw3D.java:1726
↓ 1 callersMethodsetCanvasSize
Set the window size to w-by-h pixels. @param w the width as a number of pixels @param h the height as a number of pixels @throws a RunTimeException i
StdLib/Draw.java:221
↓ 1 callersMethodsetDefaultLight
Adds the default lighting to the scene, called automatically at startup.
StdLib/StdDraw3D.java:1886
↓ 1 callersMethodsetParallelProjection
Sets the projection mode to orthographic projection. In this mode, parallel lines remain parallel after projection, and there is no perspective. It is
StdLib/StdDraw3D.java:1324
↓ 1 callersMethodsetScale
Set the x-scale and y-scale (a 10% border is added to the values) @param min the minimum value of the x- and y-scales @param max the maximum value of
StdLib/StdDraw.java:259
↓ 1 callersMethodsetSeed
Set the seed of the psedurandom number generator.
StdLib/StdRandom.java:74
↓ 1 callersMethodsetXscale
Set the x-scale to be the default (between 0.0 and 1.0).
StdLib/Draw.java:250
↓ 1 callersMethodsetYscale
Set the y-scale to be the default (between 0.0 and 1.0).
StdLib/Draw.java:255
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-2-Mergesort/MergeBU.java:90
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-2-Mergesort/Merge.java:142
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-4-PriorityQueues/Heap.java:81
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Selection.java:111
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Insertion.java:121
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Shell.java:90
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick3way.java:91
↓ 1 callersMethodshow
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick.java:124
↓ 1 callersMethodshuffle
(int[] a)
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_36.java:6
↓ 1 callersMethodsimulate
Event based simulation for limit seconds
6-Context/6-1-EventDrivenSim/CollisionSystem.java:58
↓ 1 callersMethodsize
()
3-Searching/3-4-HashTables/SeparateChainingHashST.java:60
↓ 1 callersMethodsize
()
3-Searching/3-4-HashTables/LinearProbingHashST.java:38
↓ 1 callersMethodsize
()
3-Searching/3-1-SymbolTables/SequentialSearchST.java:45
↓ 1 callersMethodsize
Return the number of items in the bag.
1-Fundamentals/1-3-BagsQueuesStacks/Bag.java:51
↓ 1 callersMethodsize
Return the number of items in the stack.
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:59
↓ 1 callersMethodsize
Return the number of items in the queue.
1-Fundamentals/1-3-BagsQueuesStacks/Queue.java:58
↓ 1 callersMethodsize
Return the number of items in the queue.
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_29.java:40
↓ 1 callersMethodsize
()
1-Fundamentals/1-3-BagsQueuesStacks/ResizingArrayStack.java:32
↓ 1 callersMethodsize
()
1-Fundamentals/1-3-BagsQueuesStacks/ResizingArrayQueue.java:31
↓ 1 callersMethodsize
()
6-Context/6-2-BTrees/BTree.java:47
↓ 1 callersMethodsol
(int i)
6-Context/6-5-Reductions/AssignmentProblem.java:107
↓ 1 callersMethodsolve
()
6-Context/6-5-Reductions/Simplex.java:46
↓ 1 callersMethodsort
(Comparable[] a)
2-Sorting/2-2-Mergesort/MergeBU.java:49
↓ 1 callersMethodsort
(Comparable[] pq)
2-Sorting/2-4-PriorityQueues/Heap.java:26
↓ 1 callersMethodsort
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Selection.java:29
↓ 1 callersMethodsort
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Insertion.java:29
↓ 1 callersMethodsort
(Comparable[] a)
2-Sorting/2-1-ElementarySorts/Shell.java:34
↓ 1 callersMethodsort
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick3way.java:27
↓ 1 callersMethodsort
(Comparable[] a)
2-Sorting/2-3-Quicksort/Quick.java:27
↓ 1 callersMethodsort
(String[] a)
5-Strings/5-1-StringSorts/Quick3string.java:29
↓ 1 callersMethodsort
(String[] a)
5-Strings/5-1-StringSorts/MSD.java:30
↓ 1 callersMethodsquare
Draw 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 of
StdLib/StdDraw.java:496
↓ 1 callersMethodsquare
Draw 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 of
StdLib/Draw.java:515
↓ 1 callersMethodstddev
()
1-Fundamentals/1-2-DataAbstraction/VarianceAccumulator.java:26
↓ 1 callersMethodstddev
Return sample standard deviation of array, NaN if no such value.
StdLib/StdStats.java:219
↓ 1 callersMethodstronglyConnected
(int v, int w)
4-Graphs/4-2-DirectedGraphs/KosarajuSCC.java:60
↓ 1 callersMethodswim
Helper functions to restore the heap invariant.
2-Sorting/2-4-PriorityQueues/MaxPQ.java:154
↓ 1 callersMethodswim
Helper functions to restore the heap invariant.
2-Sorting/2-4-PriorityQueues/MinPQ.java:148
↓ 1 callersMethodtest1
()
6-Context/6-5-Reductions/Simplex.java:240
↓ 1 callersMethodtest2
()
6-Context/6-5-Reductions/Simplex.java:255
↓ 1 callersMethodtest3
()
6-Context/6-5-Reductions/Simplex.java:267
↓ 1 callersMethodtest4
()
6-Context/6-5-Reductions/Simplex.java:278
↓ 1 callersMethodtestBaseMethods
Unit tests
1-Fundamentals/1-3-BagsQueuesStacks/List.java:411
↓ 1 callersMethodtestContains
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:468
↓ 1 callersMethodtestDelete
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:441
↓ 1 callersMethodtestInsertAfter
()
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:360
↓ 1 callersMethodtestInsertAfter
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:561
← previousnext →801–900 of 1,619, ranked by callers