MOA 12.03
Real Time Analytics for Data Streams
moa.AbstractMOAObject Class Reference

Abstract MOA Object. More...

Inheritance diagram for moa.AbstractMOAObject:
Collaboration diagram for moa.AbstractMOAObject:

List of all members.

Public Member Functions

MOAObject copy ()
 This method produces a copy of this object.
int measureByteSize ()
 Gets the memory size of this object.
String toString ()
 Returns a description of the object.

Static Public Member Functions

static MOAObject copy (MOAObject obj)
 This method produces a copy of an object.
static int measureByteSize (MOAObject obj)
 Gets the memory size of an object.

Detailed Description

Abstract MOA Object.

All classes that are serializable, copiable, can measure its size, and can give a description, extend this class.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 32 of file AbstractMOAObject.java.


Member Function Documentation

static MOAObject moa.AbstractMOAObject.copy ( MOAObject  obj) [static]

This method produces a copy of an object.

Parameters:
objobject to copy
Returns:
a copy of the object

Definition at line 62 of file AbstractMOAObject.java.

Here is the call graph for this function:

int moa.AbstractMOAObject.measureByteSize ( )

Gets the memory size of this object.

Returns:
the memory size of this object

Implements moa.MOAObject.

Reimplemented in moa.classifiers.trees.HoeffdingOptionTree, and moa.classifiers.trees.HoeffdingTree.

Definition at line 40 of file AbstractMOAObject.java.

Referenced by moa.clusterers.AbstractClusterer.getModelMeasurements(), moa.classifiers.AbstractClassifier.getModelMeasurements(), and moa.core.AutoExpandVector< T >.measureByteSize().

Here is the caller graph for this function:

static int moa.AbstractMOAObject.measureByteSize ( MOAObject  obj) [static]

Gets the memory size of an object.

Parameters:
objobject to measure the memory size
Returns:
the memory size of this object

Definition at line 76 of file AbstractMOAObject.java.

Here is the call graph for this function:

String moa.AbstractMOAObject.toString ( )

Returns a description of the object.

Returns:
a description of the object

Reimplemented in moa.classifiers.functions.SGD, and moa.classifiers.functions.SPegasos.

Definition at line 50 of file AbstractMOAObject.java.

Referenced by moa.core.Measurement.getMeasurementsDescription().

Here is the call graph for this function:

Here is the caller graph for this function:


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