Package gov.nih.mipav.model.algorithms
Class StochasticForests.DataDouble
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.StochasticForests.Data
-
- gov.nih.mipav.model.algorithms.StochasticForests.DataDouble
-
- Enclosing class:
- StochasticForests
private class StochasticForests.DataDouble extends StochasticForests.Data
-
-
Field Summary
Fields Modifier and Type Field Description private double[]
data
-
Fields inherited from class gov.nih.mipav.model.algorithms.StochasticForests.Data
externalData, i, index_data, is_ordered_variable, max_num_unique_values, no_split_variables, num_cols, num_cols_no_snp, num_rows, num_rows_rounded, permuted_sampleIDs, snp_data, unique_data_values, variable_names
-
-
Constructor Summary
Constructors Constructor Description DataDouble()
DataDouble(double[] data, java.util.Vector<java.lang.String> variable_names, int num_rows, int num_cols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
double
get(int row, int col)
void
reserveMemory()
void
set(int col, int row, double value, boolean[] error)
-
Methods inherited from class gov.nih.mipav.model.algorithms.StochasticForests.Data
addNoSplitVariable, addSnpData, getAllValues, getIndex, getIsOrderedVariable, getMaxNumUniqueValues, getMinMaxValues, getNoSplitVariables, getNumCols, getNumRows, getNumUniqueDataValues, getPermutedSampleID, getUniqueDataValue, getUnpermutedVarID, getVariableID, getVariableNames, isOrderedVariable, loadFromFile, loadFromFileOther, permuteSampleIDs, setIsOrderedVariable, setIsOrderedVariableString, sort
-
-
-
-
Method Detail
-
dispose
public void dispose()
- Overrides:
dispose
in classStochasticForests.Data
-
reserveMemory
public void reserveMemory()
- Specified by:
reserveMemory
in classStochasticForests.Data
-
set
public void set(int col, int row, double value, boolean[] error)
- Specified by:
set
in classStochasticForests.Data
-
get
public double get(int row, int col)
- Specified by:
get
in classStochasticForests.Data
-
-