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 ModelXYIndexgetDeepClone()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
deepCopy, getAsList, getSortedByY, size
-
-
-
-
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.
-
-