C# Class 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.
Inheritance: IEncogCollection
Mostra file Open project: encog/encog-silverlight-core

Public Properties

Property Type Description
Contents IEncogPersistedObject>.IDictionary

Public Methods

Method Description
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

Method Details

Add() public method

public Add ( string name, IEncogPersistedObject obj ) : void
name string
obj IEncogPersistedObject
return void

BuildDirectory() public method

public BuildDirectory ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

Delete() public method

public Delete ( DirectoryEntry o ) : void
o DirectoryEntry
return void

Delete() public method

public Delete ( string key ) : void
key string
return void

Exists() public method

public Exists ( string key ) : bool
key string
return bool

Find() public method

public Find ( DirectoryEntry entry ) : IEncogPersistedObject
entry DirectoryEntry
return IEncogPersistedObject

Find() public method

public Find ( string key ) : IEncogPersistedObject
key string
return IEncogPersistedObject

Load() public method

Load the contents of a location.
public Load ( IPersistenceLocation location ) : void
location IPersistenceLocation The location to load from.
return void

Save() public method

Save the contents of this collection to a location.
public Save ( IPersistenceLocation location ) : void
location IPersistenceLocation The location to save to.
return void

UpdateProperties() public method

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

Property Details

Contents public_oe property

The contents of this collection.
public IDictionary Contents
return IEncogPersistedObject>.IDictionary