infomat.algorithms.matrix
Class IMatrixRandomSplitter

java.lang.Object
  extended by infomat.algorithms.matrix.IMatrixRandomSplitter

public class IMatrixRandomSplitter
extends java.lang.Object

Matrix Random Splitter. Not redy. Not used. Utilizes IMatrixSplitter.


Field Summary
(package private)  IMatrixSplitter matrixSplitter
           
(package private)  RandomClusterer randClusterer
           
 
Constructor Summary
IMatrixRandomSplitter()
           
 
Method Summary
 IMatrix[][] splitAlongBothDimensions(IMatrix matrix, int numberOfRowGroups, int numberOfColumnGroups)
          Both are hard splits.
 IMatrix[] splitAlongDimension(IMatrix matrix, boolean row, int numberOfGroups)
          Splits along rows or columns.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

randClusterer

RandomClusterer randClusterer

matrixSplitter

IMatrixSplitter matrixSplitter
Constructor Detail

IMatrixRandomSplitter

public IMatrixRandomSplitter()
Method Detail

splitAlongDimension

public IMatrix[] splitAlongDimension(IMatrix matrix,
                                     boolean row,
                                     int numberOfGroups)
Splits along rows or columns. Constructs corresponding groups along the other dimension.


splitAlongBothDimensions

public IMatrix[][] splitAlongBothDimensions(IMatrix matrix,
                                            int numberOfRowGroups,
                                            int numberOfColumnGroups)
Both are hard splits.