public class DomainShareMaterialized extends java.lang.Object implements DomainShare
| Constructor and Description |
|---|
DomainShareMaterialized(java.lang.String[][] rawHierarchy,
java.lang.String[] encodedValues,
int[][] encodedHierarchy)
Creates a new set of domain shares derived from the given attribute.
|
| Modifier and Type | Method and Description |
|---|---|
DomainShareMaterialized |
clone()
Clones the share
|
double |
getDomainSize()
Returns the size of the domain.
|
double |
getShare(int value,
int level)
Returns the share of the given value.
|
public DomainShareMaterialized(java.lang.String[][] rawHierarchy,
java.lang.String[] encodedValues,
int[][] encodedHierarchy)
rawHierarchy - encodedValues - encodedHierarchy - public DomainShareMaterialized clone()
DomainShareclone in interface DomainShareclone in class java.lang.Objectpublic double getDomainSize()
getDomainSize in interface DomainSharepublic double getShare(int value,
int level)
getShare in interface DomainSharevalue - level -