GraphLib  2.0
une librairie C# pour l’exploitation de graphes en reconnaissance des formes
 All Classes Namespaces Functions Enumerations Enumerator Properties
Matching.Variations< T >.EnumeratorWithoutRepetition Class Reference

An enumerator for Variations when the type is set to WithoutRepetition. More...

Inheritance diagram for Matching.Variations< T >.EnumeratorWithoutRepetition:
Matching.Variations< T > Matching.IMetaCollection< T >

Public Member Functions

 EnumeratorWithoutRepetition (Variations< T > source)
 Construct a enumerator with the parent object. More...
 
void Reset ()
 Resets the Variations enumerator to the first variation. More...
 
bool MoveNext ()
 Advances to the next variation. More...
 
void Dispose ()
 Cleans up non-managed resources, of which there are none used here. More...
 
- Public Member Functions inherited from Matching.Variations< T >
 Variations (IList< T > values, int lowerIndex)
 Create a variation set from the indicated list of values. The upper index is calculated as values.Count, the lower index is specified. Collection type defaults to MetaCollectionType.WithoutRepetition More...
 
 Variations (IList< T > values, int lowerIndex, GenerateOption type)
 Create a variation set from the indicated list of values. The upper index is calculated as values.Count, the lower index is specified. More...
 
IEnumerator< IList< T > > GetEnumerator ()
 Gets an enumerator for the collection of Variations. More...
 

Properties

IList< T > Current [get]
 The current variation. More...
 
- Properties inherited from Matching.Variations< T >
long Count [get]
 The number of unique variations that are defined in this meta-collection. More...
 
GenerateOption Type [get]
 The type of Variations set that is generated. More...
 
int UpperIndex [get]
 The upper index of the meta-collection, equal to the number of items in the initial set. More...
 
int LowerIndex [get]
 The lower index of the meta-collection, equal to the number of items returned each iteration. More...
 
- Properties inherited from Matching.IMetaCollection< T >
long Count [get]
 The count of items in the collection. This is not inherited from ICollection since this meta-collection cannot be extended by users. More...
 
GenerateOption Type [get]
 The type of the meta-collection, determining how the collections are determined from the inputs. More...
 
int UpperIndex [get]
 The upper index of the meta-collection, which is the size of the input collection. More...
 
int LowerIndex [get]
 The lower index of the meta-collection, which is the size of each output collection. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Matching.Variations< T >
 Variations ()
 No default constructor, must provided a list of values and size. More...
 

Detailed Description

An enumerator for Variations when the type is set to WithoutRepetition.

Constructor & Destructor Documentation

Matching.Variations< T >.EnumeratorWithoutRepetition.EnumeratorWithoutRepetition ( Variations< T >  source)

Construct a enumerator with the parent object.

Parameters
sourceThe source Variations object.

Member Function Documentation

void Matching.Variations< T >.EnumeratorWithoutRepetition.Dispose ( )

Cleans up non-managed resources, of which there are none used here.

bool Matching.Variations< T >.EnumeratorWithoutRepetition.MoveNext ( )

Advances to the next variation.

Returns
True if successfully moved to next variation, False if no more variations exist.
void Matching.Variations< T >.EnumeratorWithoutRepetition.Reset ( )

Resets the Variations enumerator to the first variation.

Property Documentation

IList<T> Matching.Variations< T >.EnumeratorWithoutRepetition.Current
get

The current variation.


The documentation for this class was generated from the following file: