edu.udo.cs.yale.datatable
Class KernelModelRow2DataTableRowWrapper

java.lang.Object
  extended by edu.udo.cs.yale.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.

Version:
$Id: KernelModelRow2DataTableRowWrapper.java,v 1.3 2006/08/03 14:39:33 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
static int ABS_ALPHA
           
private  DataTableKernelModelAdapter adapter
           
static int ALPHA
           
static int COUNTER
           
static int FUNCTION_VALUE
           
private  int index
           
private  KernelModel kernelModel
           
static int LABEL
           
static int NUMBER_OF_SPECIAL_COLUMNS
           
static java.lang.String[] SPECIAL_COLUMN_NAMES
           
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

SPECIAL_COLUMN_NAMES

public static final java.lang.String[] SPECIAL_COLUMN_NAMES

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

kernelModel

private KernelModel kernelModel

adapter

private DataTableKernelModelAdapter adapter

index

private int index
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-2006