Package moa
Class AbstractMOAObject
- java.lang.Object
-
- moa.AbstractMOAObject
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Direct Known Subclasses:
AbstractErrorWeightedVote
,AbstractErrorWeightedVoteMultiLabel
,AbstractOptionHandler
,AdaptiveRandomForest.ARFBaseLearner
,AdaptiveRandomForestRegressor.ARFFIMTDDBaseLearner
,ADWIN
,ARFFIMTDD.Node
,AttributeExpansionSuggestion
,AttributeSplitSuggestion
,BasicConceptDriftPerformanceEvaluator
,BasicMultiLabelPerformanceEvaluator
,BasicMultiTargetPerformanceEvaluator
,BasicMultiTargetPerformanceRelativeMeasuresEvaluator
,BasicRegressionPerformanceEvaluator
,CachedInstancesStream
,Cluster
,Clustering
,ClusteringTreeNode
,Converter
,DoubleVector
,EFDT.Node
,ErrorMeasurement
,FailedTaskReport
,FIMTDD.Node
,GaussianEstimator
,GreenwaldKhannaQuantileSummary
,HoeffdingOptionTree.Node
,HoeffdingTree.Node
,InstanceConditionalTest
,InstanceOutputAttributesSelector
,LearningEvaluation
,Literal
,MeasureCollection
,Measurement
,NoInstanceTransformation
,NominalRulePredicate
,NumericRulePredicate
,ObservableMOAObject
,Predicates
,Preview
,Rule
,RuleClassification
,SelfOptimisingBaseTree.Node
,SelfOptimisingKNearestLeaves.SelfOptimisingKNearestLeavesBaseLearner
,SeqDrift1ChangeDetector.SeqDrift1
,SeqDrift2ChangeDetector.SeqDrift2
,SingleVector
,StreamingGradientBoostedTrees.SGBT
,Timestamp
public abstract class AbstractMOAObject extends Object implements MOAObject
Abstract MOA Object. All classes that are serializable, copiable, can measure its size, and can give a description, extend this class.- Version:
- $Revision: 7 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractMOAObject()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MOAObject
copy()
This method produces a copy of this object.static MOAObject
copy(MOAObject obj)
This method produces a copy of an object.int
measureByteSize()
Gets the memory size of this object.static int
measureByteSize(MOAObject obj)
Gets the memory size of an object.String
toString()
Returns a description of the object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.MOAObject
getDescription
-
-
-
-
Method Detail
-
copy
public MOAObject copy()
Description copied from interface:MOAObject
This method produces a copy of this object.
-
measureByteSize
public int measureByteSize()
Description copied from interface:MOAObject
Gets the memory size of this object.- Specified by:
measureByteSize
in interfaceMOAObject
- Returns:
- the memory size of this object
-
toString
public String toString()
Returns a description of the object.
-
copy
public static MOAObject copy(MOAObject obj)
This method produces a copy of an object.- Parameters:
obj
- object to copy- Returns:
- a copy of the object
-
measureByteSize
public static int measureByteSize(MOAObject obj)
Gets the memory size of an object.- Parameters:
obj
- object to measure the memory size- Returns:
- the memory size of this object
-
-