C# Класс Encog.Persist.EncogMemoryCollection

A memory based collection of Encog objects. Does not use the more complex temp file structure like EncogPersistedCollection, but also can't handle gigantic files. This class can load and save from/to Encog EG files. This class can be very useful in the Silverlight version of Encog, which does not support the EncogPersistedCollection class.
Наследование: IEncogCollection
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Contents IEncogPersistedObject>.IDictionary

Открытые методы

Метод Описание
Add ( string name, IEncogPersistedObject obj ) : void
BuildDirectory ( ) : void
Clear ( ) : void
Delete ( DirectoryEntry o ) : void
Delete ( string key ) : void
Exists ( string key ) : bool
Find ( DirectoryEntry entry ) : IEncogPersistedObject
Find ( string key ) : IEncogPersistedObject
Load ( IPersistenceLocation location ) : void

Load the contents of a location.

Save ( IPersistenceLocation location ) : void

Save the contents of this collection to a location.

UpdateProperties ( string name, string newName, string desc ) : void

Описание методов

Add() публичный Метод

public Add ( string name, IEncogPersistedObject obj ) : void
name string
obj IEncogPersistedObject
Результат void

BuildDirectory() публичный Метод

public BuildDirectory ( ) : void
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

Delete() публичный Метод

public Delete ( DirectoryEntry o ) : void
o DirectoryEntry
Результат void

Delete() публичный Метод

public Delete ( string key ) : void
key string
Результат void

Exists() публичный Метод

public Exists ( string key ) : bool
key string
Результат bool

Find() публичный Метод

public Find ( DirectoryEntry entry ) : IEncogPersistedObject
entry DirectoryEntry
Результат IEncogPersistedObject

Find() публичный Метод

public Find ( string key ) : IEncogPersistedObject
key string
Результат IEncogPersistedObject

Load() публичный Метод

Load the contents of a location.
public Load ( IPersistenceLocation location ) : void
location IPersistenceLocation The location to load from.
Результат void

Save() публичный Метод

Save the contents of this collection to a location.
public Save ( IPersistenceLocation location ) : void
location IPersistenceLocation The location to save to.
Результат void

UpdateProperties() публичный Метод

public UpdateProperties ( string name, string newName, string desc ) : void
name string
newName string
desc string
Результат void

Описание свойств

Contents публичное свойство

The contents of this collection.
public IDictionary Contents
Результат IEncogPersistedObject>.IDictionary