MCPcopy Create free account

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

Functions794 in github.com/bighuang624/Algorithms-notes

Methodmain
Unit tests some of the methods in {@code StdOut}. @param args the command-line arguments
code/algs4/StdOut.java:311
Methodmain
Unit tests the {@code SET} data type. @param args the command-line arguments
code/algs4/SET.java:282
Methodmain
Reads in a sequence of bytes from standard input and draws them to standard drawing output as a width-by-height picture, using black for 1 and white f
code/algs4/PictureDump.java:48
Methodmain
Unit tests the {@code Interval2D} data type. @param args the command-line arguments
code/algs4/Interval2D.java:119
Methodmain
Test client. @param args the command-line arguments
code/algs4/Draw.java:1361
Methodmain
Test client. Reads in a binary input file from standard input and writes it to standard output. @param args the command-line arguments
code/algs4/BinaryStdIn.java:282
Methodmain
Reads in a sequence of integers from the whitelist file, specified as a command-line argument; reads in integers from standard input; prints to standa
code/algs4/BinarySearch.java:91
Methodmain
Reads in a sequence of strings from standard input; heapsorts them; and prints them to standard output in ascending order. @param args the command-li
code/algs4/Heap.java:112
Methodmain
Unit tests the {@code ST} data type. @param args the command-line arguments
code/algs4/ST.java:222
Methodmain
Interactive test of basic functionality. @param args the command-line arguments
code/algs4/StdIn.java:541
Methodmain
Unit tests the {@code In} data type. @param args the command-line arguments
code/algs4/In.java:564
Methodmain
Unit tests this {@code Picture} data type. Reads a picture specified by the command-line argument, and shows it in a window on the screen. @param arg
code/algs4/Picture.java:364
Methodmain
Unit test. @param args the command-line arguments
code/algs4/StdRandom.java:512
Methodmain
Reads two command-line integers n and trials; creates n counters; increments trials counters at random; and prints results. @param args the command-l
code/algs4/Counter.java:97
Methodmain
Reads in a sequence of bytes from standard input and writes them to standard output using hexademical notation, k hex digits per line, where k is give
code/algs4/HexDump.java:59
Methodmain
Unit tests the {@code MinPQ} data type. @param args the command-line arguments
code/algs4/MinPQ.java:274
Methodmain
(String[] args)
code/chapter3_1_Symbol_Tables/FrequencyCounter.java:12
Methodmain
(String[] args)
code/chapter6_3_Suffix_Arrays/LRS.java:11
Methodmain
(String[] args)
code/chapter6_3_Suffix_Arrays/KWIC.java:13
Methodmain
(String[] args)
code/chapter1_5_Case_Study_Union_Find/UF.java:67
Methodmain
(String[] args)
code/chapter4_3_Minimum_Spanning_Tree/UF.java:67
Methodmain
(String[] args)
code/chapter4_3_Minimum_Spanning_Tree/TestMST.java:11
Methodmain
(String[] args)
code/chapter2_1_Elementary_Sorts/SortCompare.java:43
Methodmain
(String[] args)
code/chapter5_3_Substring_Search/RabinKarp.java:64
Methodmain
(String[] args)
code/chapter5_3_Substring_Search/BoyerMoore.java:47
Methodmain
(String[] args)
code/chapter5_3_Substring_Search/KMP.java:38
Methodmain
(String[] args)
code/chapter4_4_Shortest_Paths/TestSP.java:11
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/StdDrawTest.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex15.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex19.java:20
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex30.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex14.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex31.java:20
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex11.java:8
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex9.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex10.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Sattolo.java:20
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex20.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex1.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex3.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex7a.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/RightTriangle.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex2.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/BouncingBall.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex7b.java:6
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex32.java:10
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/BinarySearch.java:28
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex8.java:5
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex7c.java:7
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex13.java:8
Methodmain
(String[] args)
code/chapter1_1_Programming_Model/Ex6.java:6
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/WhiteList.java:8
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/Cat.java:8
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/FlipsMax.java:16
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/Rolls.java:9
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/AccumulatorTest.java:8
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/Flips.java:9
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/Interval2DTest.java:11
Methodmain
(String[] args)
code/chapter1_2_Data_Abstraction/VisualAccumulatorTest.java:8
Methodmax
Returns the max endpoint of this interval. @return the max endpoint of this interval
code/algs4/Interval1D.java:112
Methodmax
Returns the largest key in this set. @return the largest key in this set @throws NoSuchElementException if this set is empty
code/algs4/SET.java:144
Methodmax
()
code/chapter3_1_Symbol_Tables/BinarySearchST.java:82
Methodmin
Returns the min endpoint of this interval. @return the min endpoint of this interval
code/algs4/Interval1D.java:103
Methodmin
Returns the smallest key in this set. @return the smallest key in this set @throws NoSuchElementException if this set is empty
code/algs4/SET.java:155
Methodmin
Returns a smallest key on this priority queue. @return a smallest key on this priority queue @throws NoSuchElementException if this priority queue is
code/algs4/MinPQ.java:134
Methodmin
()
code/chapter3_1_Symbol_Tables/BinarySearchST.java:78
MethodminIndex
Returns an index associated with a minimum key. @return an index associated with a minimum key @throws NoSuchElementException if this priority queue
code/algs4/IndexMinPQ.java:126
MethodminKey
Returns a minimum key. @return a minimum key @throws NoSuchElementException if this priority queue is empty
code/algs4/IndexMinPQ.java:137
MethodmouseClicked
This method cannot be called directly.
code/algs4/StdDraw.java:1712
MethodmouseClicked
This method cannot be called directly.
code/algs4/Draw.java:1189
MethodmouseDragged
This method cannot be called directly.
code/algs4/StdDraw.java:1752
MethodmouseDragged
This method cannot be called directly.
code/algs4/Draw.java:1244
MethodmouseEntered
This method cannot be called directly.
code/algs4/StdDraw.java:1718
MethodmouseEntered
This method cannot be called directly.
code/algs4/Draw.java:1197
MethodmouseExited
This method cannot be called directly.
code/algs4/StdDraw.java:1724
MethodmouseExited
This method cannot be called directly.
code/algs4/Draw.java:1205
MethodmouseMoved
This method cannot be called directly.
code/algs4/StdDraw.java:1763
MethodmouseMoved
This method cannot be called directly.
code/algs4/Draw.java:1258
MethodmousePressed
Returns true if the mouse is being pressed. @return {@code true} if the mouse is being pressed; {@code false} otherwise
code/algs4/StdDraw.java:1680
MethodmousePressed
Returns true if the mouse is being pressed. @return {@code true} if the mouse is being pressed; {@code false} otherwise
code/algs4/Draw.java:1157
MethodmouseReleased
This method cannot be called directly.
code/algs4/StdDraw.java:1742
MethodmouseReleased
This method cannot be called directly.
code/algs4/Draw.java:1230
MethodmouseX
Returns the <em>x</em>-coordinate of the mouse. @return the <em>x</em>-coordinate of the mouse
code/algs4/StdDraw.java:1691
MethodmouseX
Returns the x-coordinate of the mouse. @return the x-coordinate of the mouse
code/algs4/Draw.java:1167
MethodmouseY
Returns the <em>y</em>-coordinate of the mouse. @return <em>y</em>-coordinate of the mouse
code/algs4/StdDraw.java:1702
MethodmouseY
Returns the y-coordinate of the mouse. @return the y-coordinate of the mouse
code/algs4/Draw.java:1178
Methodmove
Moves this particle in a straight line (based on its velocity) for the specified amount of time. @param dt the amount of time
code/algs4/Particle.java:82
Methodnext
()
code/algs4/Stack.java:164
Methodnext
()
code/algs4/IndexMinPQ.java:322
Methodnext
()
code/algs4/Queue.java:154
Methodnext
()
code/algs4/MinPQ.java:263
MethodnextKeyTyped
Returns the next key that was typed by the user (that your program has not already processed). This method should be preceded by a call to {@link #has
code/algs4/StdDraw.java:1800
MethodnextKeyTyped
The next key typed by the user. @return the next key typed by the user
code/algs4/Draw.java:1287
Methodpareto
Returns a random real number from the standard Pareto distribution. @return a random real number from the standard Pareto distribution
code/algs4/StdRandom.java:274
Methodpartition
(Comparable[] a, int lo, int hi)
code/chapter2_3_Quicksort/Quick3way.java:35
MethodpathTo
(int v)
code/chapter4_4_Shortest_Paths/SP.java:13
Methodpeek
Returns (but does not remove) the item most recently added to this stack. @return the item most recently added to this stack @throws NoSuchElementExc
code/algs4/Stack.java:119
Methodpeek
Returns the item least recently added to this queue. @return the item least recently added to this queue @throws NoSuchElementException if this queue
code/algs4/Queue.java:85
Methodpicture
Draws the specified image centered at (<em>x</em>, <em>y</em>). The supported image formats are JPEG, PNG, and GIF. As an optimization, the picture is
code/algs4/StdDraw.java:1329
Methodpicture
Draws picture (gif, jpg, or png) centered on (x, y). @param x the center x-coordinate of the image @param y the center y-coordinate of the image @p
code/algs4/Draw.java:860
← previousnext →601–700 of 794, ranked by callers