Package com.macrofocus.high_d.mds.spring
Class SimpleSpringModel
java.lang.Object
com.macrofocus.molap.dataframe.AbstractDataFrame<R,C,Number>
com.macrofocus.molap.dataframe.matrix.AbstractMatrix<Integer,String>
com.macrofocus.high_d.mds.AbstractMDSModel
com.macrofocus.high_d.mds.spring.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 TypeMethodDescriptionvoid
addForce
(int row, double x, double y, double z) getColumnClass
(int column) int
com.macrofocus.molap.index.UniqueIndex<String>
int
getColumnIndex
(Object name) getColumnName
(int column) double
getDouble
(int row, int column) double
getForceX
(int row) double
getForceY
(int row) double
getForceZ
(int row) int
com.macrofocus.molap.index.UniqueIndex<Integer>
getValueAt
(int row, int column) double
getVelocityX
(int row) double
getVelocityY
(int row) double
getVelocityZ
(int row) double
getW
(int row) double
getX
(int row) double
getY
(int row) double
getZ
(int row) boolean
isAvailable
(int row, int column) void
setDouble
(int row, int column, double value) void
setForce
(int row, double x, double y, double z) void
setForceY
(int row, double y) void
setForceZ
(int row, double z) void
setPosition
(int row, double x, double y, double z) void
setPosition
(int row, double x, double y, double z, double w) void
setVelocity
(int row, double x, double y, double z) Methods inherited from class com.macrofocus.high_d.mds.AbstractMDSModel
getDouble, isAvailable
Methods inherited from class com.macrofocus.molap.dataframe.matrix.AbstractMatrix
getColumnClass, getColumnVector, getRow, getRowClass, getRowVector, getValueAt, isAvailable, join, scalarDivide, scalarMult, scalarPlus
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, 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, 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, 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, rows
Methods 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:
getColumnCount
in interfacecom.macrofocus.molap.dataframe.DataFrame<Integer,
String, Number> - Specified by:
getColumnCount
in interfaceMDSModel
- Overrides:
getColumnCount
in classAbstractMDSModel
-
setPosition
public void setPosition(int row, double x, double y, double z) - Specified by:
setPosition
in interfaceSpringModel
-
setPosition
public void setPosition(int row, double x, double y, double z, double w) - Specified by:
setPosition
in interfaceSpringModel
-
setVelocity
public void setVelocity(int row, double x, double y, double z) - Specified by:
setVelocity
in interfaceSpringModel
-
setForce
public void setForce(int row, double x, double y, double z) - Specified by:
setForce
in interfaceSpringModel
-
setForceY
public void setForceY(int row, double y) - Specified by:
setForceY
in interfaceSpringModel
-
setForceZ
public void setForceZ(int row, double z) - Specified by:
setForceZ
in interfaceSpringModel
-
addForce
public void addForce(int row, double x, double y, double z) - Specified by:
addForce
in interfaceSpringModel
-
getX
public double getX(int row) -
getY
public double getY(int row) -
getZ
public double getZ(int row) - Specified by:
getZ
in interfaceSpringModel
-
getW
public double getW(int row) - Specified by:
getW
in interfaceSpringModel
-
getVelocityX
public double getVelocityX(int row) - Specified by:
getVelocityX
in interfaceSpringModel
-
getVelocityY
public double getVelocityY(int row) - Specified by:
getVelocityY
in interfaceSpringModel
-
getVelocityZ
public double getVelocityZ(int row) - Specified by:
getVelocityZ
in interfaceSpringModel
-
getForceX
public double getForceX(int row) - Specified by:
getForceX
in interfaceSpringModel
-
getForceY
public double getForceY(int row) - Specified by:
getForceY
in interfaceSpringModel
-
getForceZ
public double getForceZ(int row) - Specified by:
getForceZ
in interfaceSpringModel
-
getColumnName
- Overrides:
getColumnName
in classAbstractMDSModel
-
getColumnIndex
-
getColumnClass
-
getRowIndex
-
getColumnIndex
-