Class SimpleSammonModel

  • All Implemented Interfaces:
    MDSModel, MutableMDSModel, SammonModel, com.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,​java.lang.String,​java.lang.Number>, com.macrofocus.molap.dataframe.matrix.Matrix<java.lang.Integer,​java.lang.String>

    public class SimpleSammonModel
    extends AbstractMDSModel
    implements SammonModel
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame

        com.macrofocus.molap.dataframe.AbstractDataFrame.ColumnSeries
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleSammonModel​(com.macrofocus.molap.dataframe.DataFrame dataset)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class getColumnClass​(int column)  
      int getColumnCount()  
      com.macrofocus.molap.index.UniqueIndex<java.lang.String> getColumnIndex()  
      int getColumnIndex​(java.lang.Object name)  
      java.lang.Object getColumnName​(int column)  
      double getDouble​(java.lang.Integer row, java.lang.Integer column)  
      int getRowCount()  
      com.macrofocus.molap.index.UniqueIndex<java.lang.Integer> getRowIndex()  
      java.lang.Object getValueAt​(int row, int column)  
      double getX​(int row)  
      double getY​(int row)  
      boolean isAvailable​(int row, int column)  
      void setDouble​(int row, int column, double value)  
      void setX​(int row, double x)  
      void setY​(int row, double y)  
      • Methods inherited from class com.macrofocus.molap.dataframe.matrix.AbstractMatrix

        getColumnClass, getColumnVector, getRow, getRowClass, getRowVector, getValueAt, isAvailable, join
      • Methods inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame

        addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getCube, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRowAddress, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, notifyDataFrameChanged, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRows, reindexRows, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.macrofocus.molap.dataframe.DataFrame

        addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRowAddress, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRows, reindexRows, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
      • Methods inherited from interface com.macrofocus.molap.dataframe.matrix.Matrix

        scalarDivide, scalarMult, scalarPlus
    • Constructor Detail

      • SimpleSammonModel

        public SimpleSammonModel​(com.macrofocus.molap.dataframe.DataFrame dataset)
    • Method Detail

      • getValueAt

        public java.lang.Object getValueAt​(int row,
                                           int column)
      • isAvailable

        public boolean isAvailable​(int row,
                                   int column)
      • getDouble

        public double getDouble​(java.lang.Integer row,
                                java.lang.Integer column)
      • setDouble

        public void setDouble​(int row,
                              int column,
                              double value)
      • getRowCount

        public int getRowCount()
        Specified by:
        getRowCount in interface com.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,​java.lang.String,​java.lang.Number>
        Specified by:
        getRowCount in interface MDSModel
        Overrides:
        getRowCount in class com.macrofocus.molap.dataframe.AbstractDataFrame<java.lang.Integer,​java.lang.String,​java.lang.Number>
      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface com.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,​java.lang.String,​java.lang.Number>
        Specified by:
        getColumnCount in interface MDSModel
        Overrides:
        getColumnCount in class AbstractMDSModel
      • setX

        public void setX​(int row,
                         double x)
        Specified by:
        setX in interface MutableMDSModel
      • setY

        public void setY​(int row,
                         double y)
        Specified by:
        setY in interface MutableMDSModel
      • getX

        public double getX​(int row)
        Specified by:
        getX in interface MDSModel
      • getY

        public double getY​(int row)
        Specified by:
        getY in interface MDSModel
      • getColumnIndex

        public int getColumnIndex​(java.lang.Object name)
      • getColumnClass

        public java.lang.Class getColumnClass​(int column)
      • getRowIndex

        public com.macrofocus.molap.index.UniqueIndex<java.lang.Integer> getRowIndex()
        Specified by:
        getRowIndex in interface com.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,​java.lang.String,​java.lang.Number>
      • getColumnIndex

        public com.macrofocus.molap.index.UniqueIndex<java.lang.String> getColumnIndex()
        Specified by:
        getColumnIndex in interface com.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,​java.lang.String,​java.lang.Number>