C# 클래스 Recognizer.SerializableHmm

상속: ISerializable
파일 보기 프로젝트 열기: omanamos/kinect-nao 1 사용 예제들

공개 메소드들

메소드 설명
GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void

Specifies the attributes that should be serialized.

LoadFromDisk ( ) : HiddenMarkovModel

Loads and returns a HMM that was previously serialized to disk.

SaveToDisk ( ) : void

Saves this HMM representation to disk.

SerializableHmm ( SerializationInfo info, StreamingContext ctxt ) : System

Deserializes the object.

SerializableHmm ( string name, HiddenMarkovModel hmm ) : System

Saves to this object the information necessary for later reconstructing the given HMM.

SerializableHmm ( string actName, HiddenMarkovModel hmm, Accord pca ) : System
SerializableHmm ( string name, string directory ) : System

Prepares this object for the deserialization of the HMM that was previously serialized with the given name.

비공개 메소드들

메소드 설명
construct ( HiddenMarkovModel hmm ) : void
getPCA ( ) : Accord.Statistics.Analysis.PrincipalComponentAnalysis

메소드 상세

GetObjectData() 공개 메소드

Specifies the attributes that should be serialized.
public GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
info System.Runtime.Serialization.SerializationInfo the data necessary to deserialize this object
ctxt System.Runtime.Serialization.StreamingContext specifies the serialization stream
리턴 void

LoadFromDisk() 공개 메소드

Loads and returns a HMM that was previously serialized to disk.
public LoadFromDisk ( ) : HiddenMarkovModel
리턴 HiddenMarkovModel

SaveToDisk() 공개 메소드

Saves this HMM representation to disk.
public SaveToDisk ( ) : void
리턴 void

SerializableHmm() 공개 메소드

Deserializes the object.
public SerializableHmm ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo the data necessary to deserialize this object
ctxt System.Runtime.Serialization.StreamingContext specifies the serialization stream
리턴 System

SerializableHmm() 공개 메소드

Saves to this object the information necessary for later reconstructing the given HMM.
public SerializableHmm ( string name, HiddenMarkovModel hmm ) : System
name string the name of this HMM
hmm HiddenMarkovModel the HMM to store
리턴 System

SerializableHmm() 공개 메소드

public SerializableHmm ( string actName, HiddenMarkovModel hmm, Accord pca ) : System
actName string
hmm HiddenMarkovModel
pca Accord
리턴 System

SerializableHmm() 공개 메소드

Prepares this object for the deserialization of the HMM that was previously serialized with the given name.
public SerializableHmm ( string name, string directory ) : System
name string the name of this HMM
directory string
리턴 System