MCPcopy Create free account

hub / github.com/aistrate/AlgorithmsSedgewick / types & classes

Types & classes242 in github.com/aistrate/AlgorithmsSedgewick

ClassAccumulator
Compilation: javac Accumulator.java Mutable data type that calculates mean of data values.
1-Fundamentals/1-2-DataAbstraction/Accumulator.java:9
ClassAcyclicLP
Compilation: javac AcyclicLP.java Execution: java AcyclicP V E Dependencies: EdgeWeightedDigraph.java DirectedEdge.java Topological.java Data f
4-Graphs/4-4-ShortestPaths/AcyclicLP.java:23
ClassAcyclicSP
Compilation: javac AcyclicSP.java Execution: java AcyclicSP V E Dependencies: EdgeWeightedDigraph.java DirectedEdge.java Topological.java Data
4-Graphs/4-4-ShortestPaths/AcyclicSP.java:23
ClassAlphabet
5-Strings/5-5-DataCompression/Alphabet.java:1
ClassArbitrage
Compilation: javac Arbitrage.java Execution: java Arbitrage < input.txt Dependencies: EdgeWeightedDigraph.java DirectedEdge.java
4-Graphs/4-4-ShortestPaths/Arbitrage.java:25
ClassAssignmentProblem
Compilation: javac AssignmentProblem.java Execution: java AssignmentProblem N Dependencies: DijkstraSP.java DirectedEdge.java Solve an N-by-N
6-Context/6-5-Reductions/AssignmentProblem.java:18
ClassAtan2Order
1-Fundamentals/1-2-DataAbstraction/Point2D.java:120
ClassAverage
Compilation: javac Average.java Execution: java Average < data.txt Dependencies: StdIn.java StdOut.java Reads in a sequence of real numbers, a
1-Fundamentals/1-1-BasicProgModel/Average.java:20
ClassBST
Compilation: javac BST.java Execution: java BST Dependencies: StdIn.java StdOut.java Data files: http://algs4.cs.princeton.edu/32bst/tinyST.t
3-Searching/3-2-BinarySearchTrees/BST.java:26
ClassBTree
Compilation: javac BTree.java Execution: java BTree B-tree. Limitations ----------- - Assumes M is even and M >= 4 - should b be an ar
6-Context/6-2-BTrees/BTree.java:16
ClassBag
The <tt>Bag</tt> class represents a bag (or multiset) of generic items. It supports insertion and iterating over the items in arbitrary order. <p>
1-Fundamentals/1-3-BagsQueuesStacks/Bag.java:23
ClassBellmanFordSP
Compilation: javac BellmanFordSP.java Execution: java BellmanFordSP filename.txt s Dependencies: EdgeWeightedDigraph.java DirectedEdge.java Queu
4-Graphs/4-4-ShortestPaths/BellmanFordSP.java:29
ClassBinaryDump
Compilation: javac BinaryDump.java Execution: java BinaryDump N < file Dependencies: BinaryStdIn.java Data file: http://introcs.cs.princeton
StdLib/BinaryDump.java:23
ClassBinaryDump
Compilation: javac BinaryDump.java Execution: java BinaryDump N < file Dependencies: BinaryStdIn.java Data file: http://introcs.cs.princeton
5-Strings/5-5-DataCompression/BinaryDump.java:23
ClassBinaryIn
<i>Binary input</i>. This class provides methods for reading in bits from a binary input stream, either one bit at a time (as a <tt>boolean</tt>),
StdLib/BinaryIn.java:40
ClassBinaryOut
<i>Binary output</i>. This class provides methods for converting primtive type variables (<tt>boolean</tt>, <tt>byte</tt>, <tt>char</tt>, <tt>int</t
StdLib/BinaryOut.java:33
ClassBinarySearch
1-Fundamentals/1-1-BasicProgModel/BinarySearch.java:27
ClassBinarySearchST
Compilation: javac BinarySearchST.java Execution: java BinarySearchST Dependencies: StdIn.java StdOut.java Data files: http://algs4.cs.prince
3-Searching/3-1-SymbolTables/BinarySearchST.java:27
ClassBinaryStdIn
<i>Binary standard input</i>. This class provides methods for reading in bits from standard input, either one bit at a time (as a <tt>boolean</tt>),
StdLib/BinaryStdIn.java:31
ClassBinaryStdInTester
Compilation: javac BinaryStdInTester.java Execution: java BinaryStdInTester % java BinaryStdInTester true K 17 12345678901 3.1415926535897
StdLib/BinaryStdInTester.java:15
ClassBinaryStdOut
<i>Binary standard output</i>. This class provides methods for converting primtive type variables (<tt>boolean</tt>, <tt>byte</tt>, <tt>char</tt>, <
StdLib/BinaryStdOut.java:29
ClassBinaryStdOutTester
Compilation: javac BinaryStdOutTester.java Execution: java BinaryStdOutTester
StdLib/BinaryStdOutTester.java:7
ClassBipartite
Compilation: javac Bipartite.java Dependencies: Graph.java Given a graph, find either (i) a bipartition or (ii) an odd-length cycle. Runs in O(E
4-Graphs/4-1-UndirectedGraphs/Bipartite.java:11
ClassBipartiteMatching
Compilation: javac BipartiteMatching.java Execution: java BipartiteMatching N E Dependencies: FordFulkerson.java FlowNetwork.java FlowEdge.java
6-Context/6-5-Reductions/BipartiteMatching.java:18
ClassBlackFilter
Compilation: javac BlackFilter.java Execution: java BlackFilter blacklist.txt < input.txt Dependencies: SET In.java StdIn.java StdOut.java Data
3-Searching/3-5-Applications/BlackFilter.java:31
ClassBoruvkaMST
Compilation: javac BoruvkaMST.java Execution: java BoruvkaMST filename.txt Dependencies: EdgeWeightedGraph.java Edge.java Bag.java
4-Graphs/4-3-MinSpanningTrees/BoruvkaMST.java:25
ClassBouncingBall
Compilation: javac BouncingBall.java Execution: java BouncingBall Dependencies: StdDraw.java Implementation of a 2-d bouncing ball in the box
1-Fundamentals/1-1-BasicProgModel/BouncingBall.java:12
ClassBoyerMoore
Compilation: javac BoyerMoore.java Execution: java BoyerMoore pattern text Reads in two strings, the pattern and the input text, and searches
5-Strings/5-3-SubstringSearch/BoyerMoore.java:32
ClassBreadthFirstDirectedPaths
Compilation: javac BreadthFirstDirectedPaths.java Execution: java BreadthFirstDirectedPaths V E Dependencies: Digraph.java Queue.java Stack.java
4-Graphs/4-2-DirectedGraphs/BreadthFirstDirectedPaths.java:26
ClassBreadthFirstPaths
Compilation: javac BreadthFirstPaths.java Execution: java BreadthFirstPaths G s Dependencies: Graph.java Queue.java Stack.java StdOut.java Data
4-Graphs/4-1-UndirectedGraphs/BreadthFirstPaths.java:29
ClassCC
Compilation: javac CC.java Execution: java CC filename.txt Dependencies: Graph.java StdOut.java Queue.java Data files: http://algs4.cs.prince
4-Graphs/4-1-UndirectedGraphs/CC.java:18
ClassCPM
Compilation: javac CPM.java Execution: java CPM < input.txt Dependencies: EdgeWeightedDigraph.java AcyclicDigraphLP.java StdOut.java Data files
4-Graphs/4-4-ShortestPaths/CPM.java:26
ClassCamera
StdLib/StdDraw3D.java:3940
ClassCat
Compilation: javac Cat.java Execution: java Cat input0.txt input1.txt ... output.txt Dependencies: In.java Out.java Reads in text files specif
1-Fundamentals/1-1-BasicProgModel/Cat.java:26
ClassClosestPair
Beyond/ClosestPair.java:15
ClassCollisionSystem
6-Context/6-1-EventDrivenSim/CollisionSystem.java:13
ClassComplex
Compilation: javac Complex.java Execution: java Complex Data type for complex numbers. The data type is "immutable" so once you create and in
Beyond/Complex.java:30
ClassCopy
Compilation: javac Copy.java Execution: java Copy < file Dependencies: BinaryStdIn.java BinaryStdOut.java Reads in a binary file from standard
StdLib/Copy.java:14
ClassCount
Compilation: javac Count.java Execution: java Count alpha < input.txt Create an alphabet specified on the command line, read in a sequence of
5-Strings/5-5-DataCompression/Count.java:33
ClassCounter
Compilation: javac Counter.java Execution: java Counter N T Dependencies: StdRandom.java StdOut.java A mutable data type for an integer counte
1-Fundamentals/1-2-DataAbstraction/Counter.java:21
ClassCycle
Compilation: javac Cycle.java Dependencies: Graph.java Stack.java Identifies a cycle. Runs in O(E + V) time.
4-Graphs/4-1-UndirectedGraphs/Cycle.java:10
ClassDate
Compilation: javac Date.java Execution: java Date An immutable data type for dates.
1-Fundamentals/1-2-DataAbstraction/Date.java:9
ClassDeDup
Compilation: javac DeDup.java Execution: java DeDup < input.txt Dependencies: SET StdIn.java StdOut.java Data files: http://algs4.cs.princeto
3-Searching/3-5-Applications/DeDup.java:33
ClassDegreesOfSeparation
Compilation: javac DegreesOfSeparation.java Execution: java DegreesOfSeparation filename delimiter source Dependencies: SymbolGraph.java Graph.j
4-Graphs/4-1-UndirectedGraphs/DegreesOfSeparation.java:52
ClassDepthFirstDirectedPaths
Compilation: javac DepthFirstDirectedPaths.java Execution: java DepthFirstDirectedPaths G s Dependencies: Digraph.java Stack.java Determine re
4-Graphs/4-2-DirectedGraphs/DepthFirstDirectedPaths.java:27
ClassDepthFirstOrder
Compilation: javac DepthFirstOrder.java Execution: java DepthFirstOrder filename.txt Dependencies: Digraph.java Queue.java Stack.java StdOut.jav
4-Graphs/4-2-DirectedGraphs/DepthFirstOrder.java:34
ClassDepthFirstPaths
Compilation: javac DepthFirstPaths.java Execution: java DepthFirstPaths G s Dependencies: Graph.java Stack.java StdOut.java Data files: http:
4-Graphs/4-1-UndirectedGraphs/DepthFirstPaths.java:29
ClassDepthFirstSearch
Compilation: javac DepthFirstSearch.java Execution: java DepthFirstSearch filename.txt s Dependencies: Graph.java StdOut.java Data files: htt
4-Graphs/4-1-UndirectedGraphs/DepthFirstSearch.java:20
ClassDigraph
The <tt>Digraph</tt> class represents an directed graph of vertices named 0 through V-1. It supports the following operations: add an edge to the gr
4-Graphs/4-2-DirectedGraphs/Digraph.java:42
ClassDijkstraAllPairsSP
Compilation: javac DijkstraAllPairsSP.java Dependencies: EdgeWeightedDigraph.java Dijkstra.java Dijkstra's algorithm run from each vertex. Takes
4-Graphs/4-4-ShortestPaths/DijkstraAllPairsSP.java:10
ClassDijkstraSP
Compilation: javac DijkstraSP.java Execution: java DijkstraSP input.txt s Dependencies: EdgeWeightedDigraph.java IndexMinPQ.java Stack.java Dire
4-Graphs/4-4-ShortestPaths/DijkstraSP.java:32
ClassDirectedCycle
Compilation: javac DirectedCycle.java Execution: java DirectedCycle < input.txt Dependencies: Digraph.java Stack.java StdOut.java In.java Data
4-Graphs/4-2-DirectedGraphs/DirectedCycle.java:19
ClassDirectedDFS
Compilation: javac DirectedDFS.java Execution: java DirectedDFS V E Dependencies: Digraph.java Bag.java In.java StdOut.java Data files: http:
4-Graphs/4-2-DirectedGraphs/DirectedDFS.java:22
ClassDirectedEdge
The <tt>DirectedEdge</tt> class represents a weighted edge in an directed graph. <p> For additional documentation, see <a href="http://algs4.cs.prin
4-Graphs/4-4-ShortestPaths/DirectedEdge.java:16
ClassDistanceToOrder
1-Fundamentals/1-2-DataAbstraction/Point2D.java:152
ClassDoubleNode
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:17
ClassDoublingRatio
Compilation: javac DoublingRatio.java Execution: java DoublingRatio Dependencies: ThreeSum.java Stopwatch.java StdRandom.java StdOut.java % j
1-Fundamentals/1-4-AnalysisOfAlgorithms/DoublingRatio.java:17
ClassDoublingTest
Compilation: javac DoublingTest.java Execution: java DoublingTest Dependencies: ThreeSum.java Stopwatch.java StdRandom.java StdOut.java % java
1-Fundamentals/1-4-AnalysisOfAlgorithms/DoublingTest.java:16
ClassDoublyLinkedList
1-Fundamentals/1-3-BagsQueuesStacks/DoublyLinkedList.java:11
ClassDraw
StdLib/Draw.java:49
InterfaceDrawListener
StdLib/DrawListener.java:1
ClassEdge
The <tt>Edge</tt> class represents a weighted edge in an undirected graph. <p> For additional documentation, see <a href="http://algs4.cs.princeton.
4-Graphs/4-3-MinSpanningTrees/Edge.java:15
ClassEdgeWeightedDigraph
The <tt>EdgeWeightedDigraph</tt> class represents an directed graph of vertices named 0 through V-1, where each edge has a real-valued weight. It su
4-Graphs/4-4-ShortestPaths/EdgeWeightedDigraph.java:23
ClassEdgeWeightedDirectedCycle
Compilation: javac EdgeWeightedDirectedCycle.java Execution: java EdgeWeightedDirectedCycle V E F Dependencies: EdgeWeightedDigraph.java Directe
4-Graphs/4-4-ShortestPaths/EdgeWeightedDirectedCycle.java:12
ClassEdgeWeightedGraph
The <tt>EdgeWeightedGraph</tt> class represents an undirected graph of vertices named 0 through V-1, where each edge has a real-valued weight. It su
4-Graphs/4-3-MinSpanningTrees/EdgeWeightedGraph.java:35
ClassEntry
6-Context/6-2-BTrees/BTree.java:32
ClassEvaluate
Compilation: javac Evaluate.java Execution: java Evaluate Dependencies: Stack.java Evaluates (fully parenthesized) arithmetic expressions usin
1-Fundamentals/1-3-BagsQueuesStacks/Evaluate.java:35
ClassEvaluatePostfix
Exercise 1.3.11 % java EvaluatePostfix 1 2 3 + 4 5 + 101.0 % java EvaluatePostfix 1 5 sqrt + 2.0 / 1.618033988749895 % java EvaluatePostfix
1-Fundamentals/1-3-BagsQueuesStacks/EvaluatePostfix.java:27
ClassEvent
An event during a particle collision simulation. Each event contains the time at which it will occur (assuming no supervening actions) and the parti
6-Context/6-1-EventDrivenSim/CollisionSystem.java:106
ClassEx_1_1_06
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_06.java:2
ClassEx_1_1_07
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_07.java:2
ClassEx_1_1_09
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_09.java:2
ClassEx_1_1_15
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_15.java:2
ClassEx_1_1_16
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_16.java:2
ClassEx_1_1_18
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_18.java:2
ClassEx_1_1_19
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_19.java:2
ClassEx_1_1_22a
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22a.java:5
ClassEx_1_1_22b
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_22b.java:5
ClassEx_1_1_27a
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_27a.java:2
ClassEx_1_1_27b
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_27b.java:2
ClassEx_1_1_29
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_29.java:4
ClassEx_1_1_31
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_31.java:2
ClassEx_1_1_32
% java Ex_1_1_32 500 0 1000000 < largeT.txt
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_32.java:7
ClassEx_1_1_35
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_35.java:2
ClassEx_1_1_36
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_36.java:2
ClassEx_1_1_37
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_37.java:2
ClassEx_1_1_39
1-Fundamentals/1-1-BasicProgModel/Ex_1_1_39.java:4
ClassEx_1_3_03
Simulate a sequence of push and pop operations to find out whether a certain sequence of pop's can occur % java Ex_1_3_03 9 8 7 6 5 4 3 2 1 0 tru
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_03.java:36
ClassEx_1_3_04
% java Ex_1_3_04 [()]{}{[()()]()} true % java Ex_1_3_04 [(]) false
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_04.java:14
ClassEx_1_3_09
% java Ex_1_3_09 1 + 2 ) 3 - 4 ) 5 - 6 ) ) ) ( ( 1 + 2 ) ( ( 3 - 4 ) ( 5 - 6 ) ) ) % java Ex_1_3_09 sqrt 1 + 2 ) ) ( sqrt ( 1 + 2 ) )
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_09.java:14
ClassEx_1_3_29
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_29.java:14
ClassEx_1_3_37
Josephus problem % java Ex_1_3_37 7 2 1 3 5 0 4 2 6
1-Fundamentals/1-3-BagsQueuesStacks/Ex_1_3_37.java:11
ClassFFT
Compilation: javac FFT.java Execution: java FFT N Dependencies: Complex.java Compute the FFT and inverse FFT of a length N complex sequence.
Beyond/FFT.java:21
ClassFarthestPair
Compilation: javac FarthestPair.java Execution: java FarthestPair < input.txt Dependencies: GrahamScan.java Point2D.java Given a set of N poin
Beyond/FarthestPair.java:16
ClassFileIndex
3-Searching/3-5-Applications/FileIndex.java:30
ClassFixedCapacityStack
1-Fundamentals/1-3-BagsQueuesStacks/FixedCapacityStack.java:20
ClassFixedCapacityStackOfStrings
1-Fundamentals/1-3-BagsQueuesStacks/FixedCapacityStackOfStrings.java:20
ClassFlowEdge
The <tt>FlowEdge</tt> class represents a capacitated edge with a flow in a digraph. <p> For additional documentation, see <a href="/algs4/74or">Sec
6-Context/6-4-Maxflow/FlowEdge.java:18
ClassFlowNetwork
Compilation: javac FlowNetwork.java Execution: java FlowNetwork V E Dependencies: Bag.java FlowEdge.java A capacitated flow network, implement
6-Context/6-4-Maxflow/FlowNetwork.java:10
ClassFordFulkerson
Compilation: javac FordFulkerson.java Execution: java FordFulkerson V E Dependencies: FlowNetwork.java FlowEdge.java Queue.java Ford-Fulkerson
6-Context/6-4-Maxflow/FordFulkerson.java:11
next →1–100 of 242, ranked by callers