public class Compacity extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Compacity.DimensionValueCompacity
A structure holding the result of the compacity measurement of a dimension value.
|
Constructor and Description |
---|
Compacity() |
Modifier and Type | Method and Description |
---|---|
static double |
getCompacityIndicator(StatsHypercube hc,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Give an overview of how full/sparse/empty is the hypercube.
|
static double |
getCompacityIndicator(StatsHypercube hc,
String dimLabel,
String dimValue,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Restrict compacity analysis to a dimension value.
|
static HashMap<String,Double> |
getCompacityIndicators(StatsHypercube hc,
String dimLabel,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Analyse compacity along a dimension.
|
static ArrayList<Compacity.DimensionValueCompacity> |
getDimensionValuesByCompacity(StatsHypercube hc,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Analyse the compacity accross all dimensions.
|
static int |
getMaxSize(StatsHypercube hc)
Compute the number of possible positions in the hypercube.
|
public static int getMaxSize(StatsHypercube hc)
hc
- The input hypercube.public static double getCompacityIndicator(StatsHypercube hc, boolean ignoreNaNValues, boolean ignoreNullValues)
hc
- The input hypercube.ignoreNaNValues
- Ignore NaN values.ignoreNullValues
- Ignore null values.public static double getCompacityIndicator(StatsHypercube hc, String dimLabel, String dimValue, boolean ignoreNaNValues, boolean ignoreNullValues)
hc
- dimLabel
- dimValue
- ignoreNaNValues
- ignoreNullValues
- public static HashMap<String,Double> getCompacityIndicators(StatsHypercube hc, String dimLabel, boolean ignoreNaNValues, boolean ignoreNullValues)
hc
- dimLabel
- ignoreNaNValues
- ignoreNullValues
- public static ArrayList<Compacity.DimensionValueCompacity> getDimensionValuesByCompacity(StatsHypercube hc, boolean ignoreNaNValues, boolean ignoreNullValues)
hc
- ignoreNaNValues
- ignoreNullValues
- Copyright © 2020. All rights reserved.