C# 클래스 xpidea.neuro.net.patterns.PatternsCollection

상속: NeuroObjectCollection
파일 보기 프로젝트 열기: AlexCherkasov/Neuro.NET 1 사용 예제들

공개 메소드들

메소드 설명
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 .

보호된 메소드들

메소드 설명
CreateContainigObject ( ) : NeuroObject

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

메소드 상세

Add() 공개 메소드

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

public Add ( Pattern value ) : int
value Pattern The to add.
리턴 int

AddRange() 공개 메소드

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. ///
리턴 void

AddRange() 공개 메소드

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. ///
리턴 void

Contains() 공개 메소드

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

public Contains ( Pattern value ) : bool
value Pattern The to locate.
리턴 bool

CopyTo() 공개 메소드

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.
리턴 void

CreateContainigObject() 보호된 메소드

Overridden.Creates new xpidea.neuro.net.patterns.Pattern object.
protected CreateContainigObject ( ) : NeuroObject
리턴 NeuroObject

GetEnumerator() 공개 메소드

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

public GetEnumerator ( ) : CustomPatternEnumerator
리턴 CustomPatternEnumerator

IndexOf() 공개 메소드

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

public IndexOf ( Pattern value ) : int
value Pattern The to locate.
리턴 int

Insert() 공개 메소드

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
리턴 void

PatternsCollection() 공개 메소드

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

public PatternsCollection ( ) : System
리턴 System

PatternsCollection() 공개 메소드

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 ///
리턴 System

PatternsCollection() 공개 메소드

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 ///
리턴 System

PatternsCollection() 공개 메소드

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.
리턴 System

PatternsCollection() 공개 메소드

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.
리턴 System

Remove() 공개 메소드

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 /// . ///
리턴 void

this() 공개 메소드

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. ///
리턴 Pattern