databionics.io
Class Bestmatch

java.lang.Object
  extended by databionics.io.DataItem
      extended by databionics.io.Bestmatch

public class Bestmatch
extends DataItem

Represent a best match of a data point on an ESOM.


Field Summary
protected  int column
          Column of data point's best match.
protected static org.apache.log4j.Logger log
          Log4j logging.
protected  int row
          Row of data point's best match.
 
Fields inherited from class databionics.io.DataItem
index
 
Constructor Summary
Bestmatch()
          Standard constructor
Bestmatch(int index)
          Constructor with index
Bestmatch(int index, int row, int column)
          Constructor with index and coordinates
 
Method Summary
 int getColumn()
          Get column of best match.
 int getRow()
          Get row of best match.
 void setColumn(int column)
          Set column of best match.
 void setRow(int row)
          Set row of best match.
 java.lang.String toString(java.lang.String delimiter)
          String representation with custom delimiter.
 
Methods inherited from class databionics.io.DataItem
getIndex, setIndex, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Log4j logging.


row

protected int row
Row of data point's best match.


column

protected int column
Column of data point's best match.

Constructor Detail

Bestmatch

public Bestmatch()
Standard constructor


Bestmatch

public Bestmatch(int index)
Constructor with index

Parameters:
index - The index

Bestmatch

public Bestmatch(int index,
                 int row,
                 int column)
Constructor with index and coordinates

Parameters:
index - The index
row - The row on the map
column - The column on the map
Method Detail

getRow

public int getRow()
Get row of best match.


getColumn

public int getColumn()
Get column of best match.


setRow

public void setRow(int row)
Set row of best match.


setColumn

public void setColumn(int column)
Set column of best match.


toString

public java.lang.String toString(java.lang.String delimiter)
String representation with custom delimiter.

Specified by:
toString in class DataItem


Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.