C# Class xpidea.neuro.net.patterns.PatternsCollection

Inheritance: NeuroObjectCollection
Afficher le fichier Open project: AlexCherkasov/Neuro.NET Class Usage Examples

Méthodes publiques

Méthode Description
Add ( Pattern value ) : int

Adds a with the specified value to the xpidea.neuro.net.patterns.PatternsCollection .

AddRange ( Pattern value ) : void

Copies the elements of an array to the end of the xpidea.neuro.net.patterns.PatternsCollection .

AddRange ( PatternsCollection value ) : void

Adds the contents of another xpidea.neuro.net.patterns.PatternsCollection to the end of the collection.

Contains ( Pattern value ) : bool

Gets a value indicating whether the xpidea.neuro.net.patterns.PatternsCollection contains the specified .

CopyTo ( Pattern array, int index ) : void

Copies the xpidea.neuro.net.patterns.PatternsCollection values to a one-dimensional System.Array instance at the specified index.

GetEnumerator ( ) : CustomPatternEnumerator

Returns an enumerator that can iterate through the xpidea.neuro.net.patterns.PatternsCollection .

IndexOf ( Pattern value ) : int

Returns the index of a in the xpidea.neuro.net.patterns.PatternsCollection .

Insert ( int index, Pattern value ) : void

Inserts a xpidea.neuro.net.patterns.Pattern into the xpidea.neuro.net.patterns.PatternsCollection at the specified index.

PatternsCollection ( ) : System

Initializes a new instance of xpidea.neuro.net.patterns.PatternsCollection.

PatternsCollection ( Pattern value ) : System

Initializes a new instance of xpidea.neuro.net.patterns.PatternsCollection containing any array of objects.

PatternsCollection ( PatternsCollection value ) : System

Initializes a new instance of xpidea.neuro.net.patterns.PatternsCollection based on another xpidea.neuro.net.patterns.PatternsCollection.

PatternsCollection ( int patternsCount, int inputsCount, int outputsCount ) : System

Constructor. Creates new cllection of the patterns.

PatternsCollection ( string fileName ) : System

Constructor. Creates the collection and loads content from a file.

Remove ( Pattern value ) : void

Removes a specific xpidea.neuro.net.patterns.Pattern from the xpidea.neuro.net.patterns.PatternsCollection .

this ( int index ) : Pattern

Represents the entry at the specified index of the .

Méthodes protégées

Méthode Description
CreateContainigObject ( ) : NeuroObject

Overridden.Creates new xpidea.neuro.net.patterns.Pattern object.

Method Details

Add() public méthode

Adds a with the specified value to the xpidea.neuro.net.patterns.PatternsCollection .

public Add ( Pattern value ) : int
value Pattern The to add.
Résultat int

AddRange() public méthode

Copies the elements of an array to the end of the xpidea.neuro.net.patterns.PatternsCollection .

public AddRange ( Pattern value ) : void
value Pattern /// An array of type containing the objects to add to the collection. ///
Résultat void

AddRange() public méthode

Adds the contents of another xpidea.neuro.net.patterns.PatternsCollection to the end of the collection.

public AddRange ( PatternsCollection value ) : void
value PatternsCollection /// A containing the objects to add to the collection. ///
Résultat void

Contains() public méthode

Gets a value indicating whether the xpidea.neuro.net.patterns.PatternsCollection contains the specified .

public Contains ( Pattern value ) : bool
value Pattern The to locate.
Résultat bool

CopyTo() public méthode

Copies the xpidea.neuro.net.patterns.PatternsCollection values to a one-dimensional System.Array instance at the specified index.

/// is multidimensional. /// -or- /// /// The number of elements in the is greater than the /// available space between and the end of . /// /// is . /// is less than /// 's lowbound. ///
public CopyTo ( Pattern array, int index ) : void
array Pattern /// /// The one-dimensional that is the destination of the values copied from /// . /// ///
index int The index in where copying begins.
Résultat void

CreateContainigObject() protected méthode

Overridden.Creates new xpidea.neuro.net.patterns.Pattern object.
protected CreateContainigObject ( ) : NeuroObject
Résultat NeuroObject

GetEnumerator() public méthode

Returns an enumerator that can iterate through the xpidea.neuro.net.patterns.PatternsCollection .

public GetEnumerator ( ) : CustomPatternEnumerator
Résultat CustomPatternEnumerator

IndexOf() public méthode

Returns the index of a in the xpidea.neuro.net.patterns.PatternsCollection .

public IndexOf ( Pattern value ) : int
value Pattern The to locate.
Résultat int

Insert() public méthode

Inserts a xpidea.neuro.net.patterns.Pattern into the xpidea.neuro.net.patterns.PatternsCollection at the specified index.

public Insert ( int index, Pattern value ) : void
index int The zero-based index where should be inserted.
value Pattern
Résultat void

PatternsCollection() public méthode

Initializes a new instance of xpidea.neuro.net.patterns.PatternsCollection.

public PatternsCollection ( ) : System
Résultat System

PatternsCollection() public méthode

Initializes a new instance of xpidea.neuro.net.patterns.PatternsCollection containing any array of objects.

public PatternsCollection ( Pattern value ) : System
value Pattern /// A array of objects with which to intialize the collection ///
Résultat System

PatternsCollection() public méthode

Initializes a new instance of xpidea.neuro.net.patterns.PatternsCollection based on another xpidea.neuro.net.patterns.PatternsCollection.

public PatternsCollection ( PatternsCollection value ) : System
value PatternsCollection /// A from which the contents are copied ///
Résultat System

PatternsCollection() public méthode

Constructor. Creates new cllection of the patterns.
public PatternsCollection ( int patternsCount, int inputsCount, int outputsCount ) : System
patternsCount int Numeber of patterns in this collection.
inputsCount int Number of inputs in each pattern.
outputsCount int Number of outputs in each pattern.
Résultat System

PatternsCollection() public méthode

Constructor. Creates the collection and loads content from a file.
public PatternsCollection ( string fileName ) : System
fileName string Name of the file to load data from.
Résultat System

Remove() public méthode

Removes a specific xpidea.neuro.net.patterns.Pattern from the xpidea.neuro.net.patterns.PatternsCollection .

is not found in the Collection.
public Remove ( Pattern value ) : void
value Pattern /// The to remove from the /// . ///
Résultat void

this() public méthode

Represents the entry at the specified index of the .

/// is outside the valid range of indexes /// for the collection. ///
public this ( int index ) : Pattern
index int /// The zero-based index of the entry to locate in the collection. ///
Résultat Pattern