Class ModelXYIndex
- java.lang.Object
-
- com.actelion.research.util.datamodel.ModelXY
-
- com.actelion.research.util.datamodel.ModelXYIndex
-
- All Implemented Interfaces:
IModelCloneable<ModelXY>
- Direct Known Subclasses:
ModelXYClassLabel
public class ModelXYIndex extends ModelXY
ModelDataXY- Version:
- 1.0 Aug 4, 2011 MvK: Start implementation
- Author:
- Modest von Korff
-
-
Constructor Summary
Constructors Constructor Description ModelXYIndex()ModelXYIndex(int rows, int colsX, int colsY)ModelXYIndex(Matrix x, Matrix y)ModelXYIndex(ModelXY dataXY)ModelXYIndex(ModelXYIndex dataXY)Deep copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<XYIndex>getAsListWithIndex()ModelXYIndexgetDeepClone()ModelXYIndexgetSortedByY(int colY)ModelXYIndexgetVariableSelectionOnX(IntVec iv)ModelXYIndexsub(int indexStart, int indexEnd)ModelXYIndexsub(java.util.List<java.lang.Integer> liIndexRow)voidsub(java.util.List<java.lang.Integer> liIndexRow, ModelXYIndex modelXYIndexTarget)Rows are copied from this into target.-
Methods inherited from class com.actelion.research.util.datamodel.ModelXY
appendRows, deepCopy, getAsList, size, toIntegerListX
-
-
-
-
Constructor Detail
-
ModelXYIndex
public ModelXYIndex()
-
ModelXYIndex
public ModelXYIndex(int rows, int colsX, int colsY)
-
ModelXYIndex
public ModelXYIndex(ModelXYIndex dataXY)
Deep copy constructor- Parameters:
dataXY-
-
ModelXYIndex
public ModelXYIndex(ModelXY dataXY)
-
-
Method Detail
-
sub
public ModelXYIndex sub(int indexStart, int indexEnd)
- Parameters:
indexStart- inclusiveindexEnd- exclusive- Returns:
-
sub
public ModelXYIndex sub(java.util.List<java.lang.Integer> liIndexRow)
-
sub
public void sub(java.util.List<java.lang.Integer> liIndexRow, ModelXYIndex modelXYIndexTarget)Rows are copied from this into target.- Parameters:
liIndexRow-modelXYIndexTarget-
-
getVariableSelectionOnX
public ModelXYIndex getVariableSelectionOnX(IntVec iv)
-
getDeepClone
public ModelXYIndex getDeepClone()
- Specified by:
getDeepClonein interfaceIModelCloneable<ModelXY>- Overrides:
getDeepClonein classModelXY- Returns:
- a deep copy of this is needed.
-
getAsListWithIndex
public java.util.List<XYIndex> getAsListWithIndex()
- Returns:
- Deep copy.
-
getSortedByY
public ModelXYIndex getSortedByY(int colY)
- Overrides:
getSortedByYin classModelXY
-
-