infomat.vectorspace
Class IMatrixCell

java.lang.Object
  extended by infomat.vectorspace.IMatrixCell

public class IMatrixCell
extends java.lang.Object

An element in a IMatrix. In many types of applications, as Information Retrieval (IR) for instance, the IMatrix is very sparse. Only the non zero elements are stored.

Version:
070314
Author:
Magnus Rosell

Constructor Summary
IMatrixCell(IObject rowObject, IObject columnObject, float weight)
           
IMatrixCell(IObject rowObject, IObject columnObject, int localCount, float weight)
           
 
Method Summary
 IObject getColumnIObject()
           
 float getLocalCount()
           
 float getLocalWeight()
           
 IObject getRowIObject()
           
 float getWeight()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMatrixCell

public IMatrixCell(IObject rowObject,
                   IObject columnObject,
                   int localCount,
                   float weight)

IMatrixCell

public IMatrixCell(IObject rowObject,
                   IObject columnObject,
                   float weight)
Method Detail

getLocalCount

public float getLocalCount()

getLocalWeight

public float getLocalWeight()

getWeight

public float getWeight()

getRowIObject

public IObject getRowIObject()

getColumnIObject

public IObject getColumnIObject()