Click or drag to resize
Count Class
The Count class provides an client for reading in a piece of text and computing the frequency of occurrence of each character over a given alphabet.
Inheritance Hierarchy
SystemObject
  Algs4NetCount

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Count

The Count type exposes the following members.

Methods
  NameDescription
Public methodStatic memberMainTest
Reads in text from standard input; calculates the frequency of occurrence of each character over the alphabet specified as a commmand-line argument; and prints the frequencies to standard output.
Top
Remarks

For additional documentation, see Section 5.5 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

This class is a C# port from the original Java class Count implementation by the respective authors.

See Also