com.rapidminer.datatable
Class KernelModelRow2DataTableRowWrapper

java.lang.Object
  extended by com.rapidminer.datatable.KernelModelRow2DataTableRowWrapper
All Implemented Interfaces:
DataTableRow

public class KernelModelRow2DataTableRowWrapper
extends java.lang.Object
implements DataTableRow

This class wraps the data row of a kernel model.

Author:
Ingo Mierswa

Field Summary
static int ABS_ALPHA
           
static int ALPHA
           
static int COUNTER
           
static int FUNCTION_VALUE
           
static int LABEL
           
static int NUMBER_OF_SPECIAL_COLUMNS
           
static int SUPPORT_VECTOR
           
 
Constructor Summary
KernelModelRow2DataTableRowWrapper(KernelModel kernelModel, DataTableKernelModelAdapter adapter, int index)
           
 
Method Summary
 java.lang.String getId()
          Returns the Id of this table row.
 int getNumberOfValues()
          Returns the total number of values.
 double getValue(int column)
          Returns the i-th value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNTER

public static final int COUNTER
See Also:
Constant Field Values

LABEL

public static final int LABEL
See Also:
Constant Field Values

FUNCTION_VALUE

public static final int FUNCTION_VALUE
See Also:
Constant Field Values

ALPHA

public static final int ALPHA
See Also:
Constant Field Values

ABS_ALPHA

public static final int ABS_ALPHA
See Also:
Constant Field Values

SUPPORT_VECTOR

public static final int SUPPORT_VECTOR
See Also:
Constant Field Values

NUMBER_OF_SPECIAL_COLUMNS

public static final int NUMBER_OF_SPECIAL_COLUMNS
See Also:
Constant Field Values
Constructor Detail

KernelModelRow2DataTableRowWrapper

public KernelModelRow2DataTableRowWrapper(KernelModel kernelModel,
                                          DataTableKernelModelAdapter adapter,
                                          int index)
Method Detail

getId

public java.lang.String getId()
Description copied from interface: DataTableRow
Returns the Id of this table row.

Specified by:
getId in interface DataTableRow

getNumberOfValues

public int getNumberOfValues()
Description copied from interface: DataTableRow
Returns the total number of values.

Specified by:
getNumberOfValues in interface DataTableRow

getValue

public double getValue(int column)
Description copied from interface: DataTableRow
Returns the i-th value.

Specified by:
getValue in interface DataTableRow


Copyright © 2001-2009 by Rapid-I