Show / Hide Table of Contents

Class SigComp19OnlineLoader

DataSetLoader for the SigComp19 dataset

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

Constructors

| Improve this Doc View Source

SigComp19OnlineLoader(String, Boolean)

Initializes a new instance of the SigComp19OnlineLoader class.

Declaration
public SigComp19OnlineLoader(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.

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 for 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 SigComp19 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