CyDAS Home funded by   Sponsor: DFG
CyDASMining Documentation Documentation Section HowTo Section Online Analysis Section Download Section Resources Section About Section

Class MiningInputData

The MiningInputData class defines a flat data structure which is used for later data mining analyses. Basically, it
consists of three items: a list of the case names, a list of the event names, and a boolean matrix indicating which case comes with which events. There is almost no business logic packed into this class.

Overview

MiningInputData
New()
New(NumberOfCases: Integer, NumberOfEvents: Integer, Description: String)
CaseCount() As Integer {read-only}
CasesEvents() As Boolean(,)
CaseNames() As String()
Description() As String
EventCount() As Integer {read-only}
EventNames() As String()
addCase(EventList: String, CaseName: String): void
addCase(EventsInCase: String(), CaseName: String): void
checkConsistence(): void

Programming Language

Availability

Constructors

Public Sub New()

Instantiates a new MiningInputData object.

Its internal arrays are empty. Cases are then added by the addCasefunctions. Since adding a case requires here an enlargement of the arrays for each case (which is very time consuming), the use of the other constructor should be preferred.

Alternatively, the lists with case and event names and the case-event-matrix can be set using the respective properties.

Public Sub New(ByVal NumberOfCases As Integer, ByVal NumberOfEvents As Integer, ByVal Description As String)

Instantiates a new MiningInputData object for the given number of cases and events with the given description of the mining data.

Parameters

Remarks

Examples

Interfaces

This class does not implement an interface.

Enumerations

The class does not provide enumerations.

Properties

Public ReadOnly Property CaseCount() As Integer

Returns the number of cases.

Property Value

Remarks

Public Property CasesEvents() As Boolean(,)

Gets or sets the case-event-matrix.

Property Value

Remarks

Public Property CaseNames() As String()

Gets or sets the case names.

Property Value

Remarks

Public Property Description() As String

Gets or sets a short description of the data.

Property Value

Remarks

Public ReadOnly Property EventCount() As Integer

Returns the number of events.

Property Value

Remarks

Public Property EventNames() As String()

Gets or sets the event names.

Property Value

Remarks

Methods

Public Sub addCase(ByVal EventList As String, ByVal CaseName As String)

Adds a new case to the mining data.

Parameters

Remarks

Public Sub addCase(ByRef EventsInCase As String(), ByVal CaseName As String)

Adds a new case to the mining data.

Parameters

Remarks

Public Sub checkConsistence()

Checks if the number of data in the EventNames array, the CaseNames array, and the case-event-matrix are consistent with each other.

Exception

Remarks

Interaction with other classes

Classes using MiningInputData

The MiningInputData class is the primary entrance point into the Mining dll. It is passed as a parameter into the constructor of the Miner object.

A MiningInputData object should be the output of some appropriate functions of the application into which the Mining class is embedded.

Classes used by MiningInputData

The MiningInputData class uses quite basic data types only to ensure a wide usability.