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
ModelDataXYCopyright: Actelion Ltd., Inc. All Rights Reserved This software is the proprietary information of Actelion Pharmaceuticals, Ltd. Use is subject to license terms.
- 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()
ModelXYIndex
getDeepClone()
ModelXYIndex
getSortedByY(int colY)
ModelXYIndex
getVariableSelectionOnX(IntVec iv)
ModelXYIndex
sub(int indexStart, int indexEnd)
ModelXYIndex
sub(java.util.List<java.lang.Integer> liIndexRow)
void
sub(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:
getDeepClone
in interfaceIModelCloneable<ModelXY>
- Overrides:
getDeepClone
in 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:
getSortedByY
in classModelXY
-
-