Show / Hide Table of Contents

Class SigComp13JapaneseLoader

DataSetLoader for the SigComp13Japanese dataset

Inheritance
System.Object
DataSetLoader
SigComp13JapaneseLoader
Implements
IDataSetLoader
ILoggerObject
Inherited Members
DataSetLoader.Logger
DataSetLoader.EnumerateSigners()
DataSetLoader.IDataSetLoader.SignerFilter
Namespace: SigStat.Common.Loaders
Assembly: SigStat.Common.dll
Syntax
public class SigComp13JapaneseLoader : DataSetLoader, IDataSetLoader, ILoggerObject

Constructors

| Improve this Doc View Source

SigComp13JapaneseLoader(String, Boolean)

Initializes a new instance of the SigComp13JapaneseLoader class.

Declaration
public SigComp13JapaneseLoader(string databasePath, bool standardFeatures)
Parameters
Type Name Description
System.String databasePath

The database path.

System.Boolean standardFeatures

if set to true features will be also stored in Features.

| Improve this Doc View Source

SigComp13JapaneseLoader(String, Boolean, Predicate<Signer>)

Initializes a new instance of the SigComp13JapaneseLoader class with specified database.

Declaration
public SigComp13JapaneseLoader(string databasePath, bool standardFeatures, Predicate<Signer> signerFilter = null)
Parameters
Type Name Description
System.String databasePath

Represents the path, to load the signatures from. It supports two basic approaches:

System.Boolean standardFeatures

Convert loaded data to standard Features.

Predicate<Signer> signerFilter

Sets the SignerFilter property

Properties

| Improve this Doc View Source

DatabasePath

Gets or sets the database path.

Declaration
public string DatabasePath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SamplingFrequency

Sampling Frequency of this database

Declaration
public override int SamplingFrequency { get; }
Property Value
Type Description
System.Int32
Overrides
DataSetLoader.SamplingFrequency
| Improve this Doc View Source

SignerFilter

Ignores any signers during the loading, that do not match the predicate

Declaration
public Predicate<Signer> SignerFilter { get; set; }
Property Value
Type Description
Predicate<Signer>
| Improve this Doc View Source

StandardFeatures

Gets or sets a value indicating whether features are also loaded as Features

Declaration
public bool StandardFeatures { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

EnumerateSigners(Predicate<Signer>)

Enumerates all Signers that match the signerFilter.

Declaration
public override IEnumerable<Signer> EnumerateSigners(Predicate<Signer> signerFilter)
Parameters
Type Name Description
Predicate<Signer> signerFilter

Filter to specify which Signers to load. Example: (p=>p=="01")

Returns
Type Description
IEnumerable<Signer>

Collection of Signers that match the signerFilter

Overrides
DataSetLoader.EnumerateSigners(Predicate<Signer>)
| Improve this Doc View Source

LoadSignature(Signature, MemoryStream, Boolean)

Loads one signature from specified stream.

Declaration
public static void LoadSignature(Signature signature, MemoryStream stream, bool standardFeatures)
Parameters
Type Name Description
Signature signature

Signature to write features to.

MemoryStream stream

Stream to read SigComp13Japanese data from.

System.Boolean standardFeatures

Convert loaded data to standard Features.

Remarks

Based on Mohammad's MCYT reader.

Implements

IDataSetLoader
ILoggerObject
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX