Multiway Class |
Namespace: Algs4Net
public class Multiway
The Multiway type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | MainTest |
Reads sorted text files specified as command-line arguments;
merges them together into a sorted output; and writes
the results to standard output.
Note: this client does not check that the input files are sorted. |
![]() ![]() | Merge | merge together the sorted input streams and write the sorted
result to standard output. |
For additional documentation, see Section 2.4 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
This class is a C# port from the original Java class Multiway implementation by the respective authors.