C# Класс Encog.Persist.Persistors.PersistorUtil

This class contains some utilities for persisting objects.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BeginEncogObject ( String objectType, WriteXML xmlOut, IEncogPersistedObject obj, bool top ) : void

Write the beginning XML for an Encog object.

CreatePersistor ( String className ) : IPersistor

Create a persistor object. These objects know how to persist certain types of classes.

LoadMatrix ( ReadXML xmlIn ) : Matrix

Load a matrix from the reader.

SaveMatrix ( Matrix matrix, WriteXML xmlOut ) : void

Save the specified matrix.

Приватные методы

Метод Описание
PersistorUtil ( ) : System

Private constructor.

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

BeginEncogObject() публичный статический Метод

Write the beginning XML for an Encog object.
public static BeginEncogObject ( String objectType, WriteXML xmlOut, IEncogPersistedObject obj, bool top ) : void
objectType String The object type to persist.
xmlOut Encog.Parse.Tags.Write.WriteXML The object that is being persisted.
obj IEncogPersistedObject The XML writer.
top bool Is this a top-level object, that needs a name /// and description?
Результат void

CreatePersistor() публичный статический Метод

Create a persistor object. These objects know how to persist certain types of classes.
public static CreatePersistor ( String className ) : IPersistor
className String The name of the class to create a persistor for.
Результат IPersistor

LoadMatrix() публичный статический Метод

Load a matrix from the reader.
public static LoadMatrix ( ReadXML xmlIn ) : Matrix
xmlIn ReadXML The XML reader.
Результат Matrix

SaveMatrix() публичный статический Метод

Save the specified matrix.
public static SaveMatrix ( Matrix matrix, WriteXML xmlOut ) : void
matrix Matrix The matrix to save.
xmlOut WriteXML The XML writer.
Результат void