[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Provides a N! (n-faculty) number of permutations for N elements.
Example: for 3 elements provides 6 permutations exactly as follows:
{0, 1, 2}
{0, 2, 1}
{1, 0, 2}
{1, 2, 0}
{2, 0, 1}
{2, 1, 0}
The following tables list the members exposed by the PermutationEnumeration type.
Public Methods
| Name | Description | |
|---|---|---|
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Equals | (Inherited from Object.) | |
| Faculty | Computes faculty of N. | |
| GetFactors | Returns factors for computing the permutation. | |
| GetHashCode | (Inherited from Object.) | |
| GetPermutation | Returns permutation. | |
| GetType | (Inherited from Object.) | |
| MoveNext |
Advances the enumerator to the next element of the collection.
| |
| Reset |
Sets the enumerator to its initial position, which is before the first element in the collection.
| |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) |
Public Constructors
| Name | Description | |
|---|---|---|
| PermutationEnumerationNew | Ctor. |
Public Properties
| Name | Description | |
|---|---|---|
| Current |
Gets the element in the collection at the current position of the enumerator.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerator.System.Collections.IEnumerator.Current |
Gets the element in the collection at the current position of the enumerator.
|