Configure

Configuring the algorithm.

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    fEps : LREAL;
    fMuBeta : LREAL;
    fLambda : LREAL;
    fEpsDBSCAN : LREAL;
    fMinWeightDBSCAN : LREAL;
    nPotMCsBufferSize : UDINT;
    nOutMCsBufferSize : UDINT;
END_VAR

Configure 1: Inputs

Name

Type

Description

nEps

LREAL

Threshold for the maximum radius of micro-clusters.

fMuBeta

LREAL

Threshold for the weight of a micro-cluster between outlier and potential micro-cluster.

fLambda

LREAL

Specifies the forgetting rate of the algorithm. The weight of each data point decreases by a factor of 2^(-fLambda) every second.

fEpsDBSCAN

LREAL

Specifies the epsilon parameter of the DBSCAN algorithm.

fMinWeightDBSCAN

LREAL

Threshold for the sum of weights in the epsilon neighborhood of a micro-cluster for the DBSCAN algorithm.

nPotMCsBufferSize

UDINT

Maximum number of potential micro-clusters. The memory is allocated to potMCs Buffer Size micro-clusters.

nOutMCsBufferSize

UDINT

Maximum number of outlier micro-clusters. The memory is allocated to outMCs Buffer Size micro-clusters.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.