MOA 12.03
Real Time Analytics for Data Streams
moa.streams.generators.LEDGeneratorDrift Class Reference

Stream generator for the problem of predicting the digit displayed on a 7-segment LED display with drift. More...

Inheritance diagram for moa.streams.generators.LEDGeneratorDrift:
Collaboration diagram for moa.streams.generators.LEDGeneratorDrift:

List of all members.

Public Member Functions

String getPurposeString ()
 Gets the purpose of this object.
Instance nextInstance ()
 Gets the next instance from this stream.
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.

Public Attributes

IntOption numberAttributesDriftOption

Protected Member Functions

void prepareForUseImpl (TaskMonitor monitor, ObjectRepository repository)
 This method describes the implementation of how to prepare this object for use.

Protected Attributes

int[] numberAttribute

Detailed Description

Stream generator for the problem of predicting the digit displayed on a 7-segment LED display with drift.

Author:
Albert Bifet (abifet at cs dot waikato dot ac dot nz)
Version:
Revision:
7

Definition at line 36 of file LEDGeneratorDrift.java.


Member Function Documentation

void moa.streams.generators.LEDGeneratorDrift.getDescription ( StringBuilder  sb,
int  indent 
)

Returns a string representation of this object.

Used in AbstractMOAObject.toString to give a string representation of the object.

Parameters:
sbthe stringbuilder to add the description
indentthe number of characters to indent

Reimplemented from moa.streams.generators.LEDGenerator.

Definition at line 94 of file LEDGeneratorDrift.java.

String moa.streams.generators.LEDGeneratorDrift.getPurposeString ( )

Gets the purpose of this object.

Returns:
the string with the purpose of this object

Reimplemented from moa.streams.generators.LEDGenerator.

Definition at line 39 of file LEDGeneratorDrift.java.

Instance moa.streams.generators.LEDGeneratorDrift.nextInstance ( )

Gets the next instance from this stream.

Returns:
the next instance of this stream

Reimplemented from moa.streams.generators.LEDGenerator.

Definition at line 72 of file LEDGeneratorDrift.java.

Here is the call graph for this function:

void moa.streams.generators.LEDGeneratorDrift.prepareForUseImpl ( TaskMonitor  monitor,
ObjectRepository  repository 
) [protected, virtual]

This method describes the implementation of how to prepare this object for use.

All classes that extends this class have to implement prepareForUseImpl and not prepareForUse since prepareForUse calls prepareForUseImpl.

Parameters:
monitorthe TaskMonitor to use
repositorythe ObjectRepository to use

Reimplemented from moa.streams.generators.LEDGenerator.

Definition at line 51 of file LEDGeneratorDrift.java.

Here is the call graph for this function:


Member Data Documentation

Initial value:
 new IntOption("numberAttributesDrift",
            'd', "Number of attributes with drift.", 1, 0, 7)

Definition at line 45 of file LEDGeneratorDrift.java.

Referenced by moa.streams.generators.LEDGeneratorDrift.prepareForUseImpl().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations