C# 클래스 Encog.Persist.Persistors.PersistorUtil

This class contains some utilities for persisting objects.
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

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