Package com.macrofocus.high_d.mds.spring
Class SimpleSpringModel
- All Implemented Interfaces:
MDSModel,SpringModel,com.macrofocus.molap.dataframe.DataFrame<Integer,,String, Number> com.macrofocus.molap.dataframe.matrix.Matrix<Integer,String>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
com.macrofocus.molap.dataframe.AbstractDataFrame.ColumnSeries -
Constructor Summary
ConstructorsConstructorDescriptionSimpleSpringModel(int rowCount) SimpleSpringModel(com.macrofocus.molap.dataframe.DataFrame datasetModel) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddForce(int row, double x, double y, double z) getColumnClass(int column) intcom.macrofocus.molap.index.UniqueIndex<String> intgetColumnIndex(Object name) getColumnName(int column) doublegetDouble(int row, int column) doublegetForceX(int row) doublegetForceY(int row) doublegetForceZ(int row) intcom.macrofocus.molap.index.UniqueIndex<Integer> getValueAt(int row, int column) doublegetVelocityX(int row) doublegetVelocityY(int row) doublegetVelocityZ(int row) doublegetW(int row) doublegetX(int row) doublegetY(int row) doublegetZ(int row) booleanisAvailable(int row, int column) voidsetDouble(int row, int column, double value) voidsetForce(int row, double x, double y, double z) voidsetForceY(int row, double y) voidsetForceZ(int row, double z) voidsetPosition(int row, double x, double y, double z) voidsetPosition(int row, double x, double y, double z, double w) voidsetVelocity(int row, double x, double y, double z) Methods inherited from class com.macrofocus.high_d.mds.AbstractMDSModel
getDouble, isAvailableMethods inherited from class com.macrofocus.molap.dataframe.matrix.AbstractMatrix
getColumnClass, getColumnVector, getRow, getRowClass, getRowVector, getValueAt, isAvailable, join, scalarDivide, scalarMult, scalarPlusMethods 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, getNotNullSum, getPercentileQuartile, getRandom, getRowAddress, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, notifyDataFrameChanged, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRowsDefault, reindexRowsUsingColumn, reindexRowsUsingColumnDefault, reindexRowsUsingColumns, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rowsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, getPercentileQuartile, getRandom, getRowAddress, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRowsDefault, reindexRowsUsingColumn, reindexRowsUsingColumnDefault, reindexRowsUsingColumns, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rowsMethods inherited from interface com.macrofocus.high_d.mds.MDSModel
isAvailable
-
Constructor Details
-
SimpleSpringModel
public SimpleSpringModel(com.macrofocus.molap.dataframe.DataFrame datasetModel) -
SimpleSpringModel
public SimpleSpringModel(int rowCount)
-
-
Method Details
-
getValueAt
-
isAvailable
public boolean isAvailable(int row, int column) -
getDouble
public double getDouble(int row, int column) -
setDouble
public void setDouble(int row, int column, double value) -
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfacecom.macrofocus.molap.dataframe.DataFrame<Integer,String, Number> - Specified by:
getColumnCountin interfaceMDSModel- Overrides:
getColumnCountin classAbstractMDSModel
-
setPosition
public void setPosition(int row, double x, double y, double z) - Specified by:
setPositionin interfaceSpringModel
-
setPosition
public void setPosition(int row, double x, double y, double z, double w) - Specified by:
setPositionin interfaceSpringModel
-
setVelocity
public void setVelocity(int row, double x, double y, double z) - Specified by:
setVelocityin interfaceSpringModel
-
setForce
public void setForce(int row, double x, double y, double z) - Specified by:
setForcein interfaceSpringModel
-
setForceY
public void setForceY(int row, double y) - Specified by:
setForceYin interfaceSpringModel
-
setForceZ
public void setForceZ(int row, double z) - Specified by:
setForceZin interfaceSpringModel
-
addForce
public void addForce(int row, double x, double y, double z) - Specified by:
addForcein interfaceSpringModel
-
getX
public double getX(int row) -
getY
public double getY(int row) -
getZ
public double getZ(int row) - Specified by:
getZin interfaceSpringModel
-
getW
public double getW(int row) - Specified by:
getWin interfaceSpringModel
-
getVelocityX
public double getVelocityX(int row) - Specified by:
getVelocityXin interfaceSpringModel
-
getVelocityY
public double getVelocityY(int row) - Specified by:
getVelocityYin interfaceSpringModel
-
getVelocityZ
public double getVelocityZ(int row) - Specified by:
getVelocityZin interfaceSpringModel
-
getForceX
public double getForceX(int row) - Specified by:
getForceXin interfaceSpringModel
-
getForceY
public double getForceY(int row) - Specified by:
getForceYin interfaceSpringModel
-
getForceZ
public double getForceZ(int row) - Specified by:
getForceZin interfaceSpringModel
-
getColumnName
- Overrides:
getColumnNamein classAbstractMDSModel
-
getColumnIndex
-
getColumnClass
-
getRowIndex
-
getColumnIndex
-