|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Repository
| Method Summary | |
|---|---|
double |
computeApproximateDelta(Category cat,
int startrow,
int endrow)
Returns the approximate delta for this category. |
Range |
computeDataRange(Category cat,
int startrow,
int endrow)
Returns the range of values stored for the specified category for the specified rows. |
Range |
computeRowRange(Category time,
Range rng)
Converts the timeRange to rowRange relative to this dataset. |
java.lang.String |
getName()
Returns the name of this repository. |
int |
getNumRows()
Returns the number of rows in the repository. |
Resource |
getResource()
Returns the resource used to populate this repository. |
float |
getScalar(Category cat,
int row)
Compute a scalar for the following cateogory for the specified row using the data from this repository. |
double |
getScalarDouble(Category cat,
int row)
Compute a scalar for the following cateogory for the specified row using the data from this repository. |
Category[] |
getStoredCategories()
Returns the categories for which the repository has data. |
Category |
getStoredCategory(java.lang.String type)
Returns the category referenced by name stored in this repository. |
float[] |
getVector(Category cat,
int row)
Compute a vector for the following category for the specified row using the data from the repository. |
double[] |
getVectorDouble(Category cat,
int row)
Compute a vector for the following category for the specified row using the data from the repository. |
boolean |
isComputable(Category cat)
Returns true if this category can be computed using data stored in this repository. |
void |
print()
Prints the repository to stdout. |
| Method Detail |
|---|
Category[] getStoredCategories()
Category getStoredCategory(java.lang.String type)
Resource getResource()
int getNumRows()
float getScalar(Category cat,
int row)
float[] getVector(Category cat,
int row)
double getScalarDouble(Category cat,
int row)
double[] getVectorDouble(Category cat,
int row)
boolean isComputable(Category cat)
Range computeRowRange(Category time,
Range rng)
Range computeDataRange(Category cat,
int startrow,
int endrow)
double computeApproximateDelta(Category cat,
int startrow,
int endrow)
java.lang.String getName()
void print()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||