com.rapidminer.tools.math
Class AverageVector

java.lang.Object
  extended by com.rapidminer.operator.AbstractIOObject
      extended by com.rapidminer.operator.ResultObjectAdapter
          extended by com.rapidminer.tools.math.AverageVector
All Implemented Interfaces:
IOObject, ResultObject, LoggingHandler, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
AttributeWeights, PerformanceVector

public abstract class AverageVector
extends ResultObjectAdapter
implements java.lang.Comparable, java.lang.Cloneable

Handles several averagables.

Author:
Ingo Mierswa
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.rapidminer.operator.AbstractIOObject
AbstractIOObject.InputStreamProvider
 
Constructor Summary
AverageVector()
           
 
Method Summary
 void addAveragable(Averagable avg)
          Adds an Averagable to the list of criteria.
 void buildAverages(AverageVector av)
           
abstract  java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 Averagable getAveragable(int index)
          Returns the Averagable by index.
 Averagable getAveragable(java.lang.String name)
          Returns the Averagable by name.
 int getSize()
          Returns the number of averagables in this vector.
 int hashCode()
           
 void removeAveragable(Averagable avg)
          Removes an Averagable from the list of criteria.
 int size()
          Returns the number of averages in the list.
 java.lang.String toResultString()
          The default implementation simply returns the result of the method Object.toString().
 java.lang.String toString()
           
 
Methods inherited from class com.rapidminer.operator.ResultObjectAdapter
addAction, getActions, getAnnotations, getName, getResultIcon, log, log, logError, logNote, logWarning, toHTML
 
Methods inherited from class com.rapidminer.operator.AbstractIOObject
appendOperatorToHistory, copy, getLog, getProcessingHistory, getSource, initWriting, read, read, read, read, setLoggingHandler, setSource, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.rapidminer.operator.IOObject
appendOperatorToHistory, copy, getLog, getProcessingHistory, getSource, setLoggingHandler, setSource, write
 

Constructor Detail

AverageVector

public AverageVector()
Method Detail

clone

public abstract java.lang.Object clone()
                                throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

size

public int size()
Returns the number of averages in the list.


addAveragable

public void addAveragable(Averagable avg)
Adds an Averagable to the list of criteria.


removeAveragable

public void removeAveragable(Averagable avg)
Removes an Averagable from the list of criteria.


getAveragable

public Averagable getAveragable(int index)
Returns the Averagable by index.


getAveragable

public Averagable getAveragable(java.lang.String name)
Returns the Averagable by name.


getSize

public int getSize()
Returns the number of averagables in this vector.


toResultString

public java.lang.String toResultString()
Description copied from class: ResultObjectAdapter
The default implementation simply returns the result of the method Object.toString().

Specified by:
toResultString in interface ResultObject
Overrides:
toResultString in class ResultObjectAdapter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

buildAverages

public void buildAverages(AverageVector av)


Copyright © 2001-2009 by Rapid-I