|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Datastore
The Datastore interface for the Algorithm to use
| Method Summary | |
|---|---|
Collection<String> |
getKeys(String name)
get the keySet of a given Matrix/Vector as given by name |
double |
getWeight(String vectorName,
String index)
Gets a double value from the Vector pointed to by the vectorName from its cell pointed to by
the index |
double |
getWeight(String matrixName,
String row,
String column)
Gets a double value from the Matrix pointed to by the matrixName from its cell pointed to by
the row and column string |
void |
initialize()
Initializes the and loads the model into memory/cache if necessary |
| Method Detail |
|---|
double getWeight(String matrixName,
String row,
String column)
throws InvalidDatastoreException
matrixName from its cell pointed to by
the row and column string
matrixName - row - column -
InvalidDatastoreException
double getWeight(String vectorName,
String index)
throws InvalidDatastoreException
vectorName from its cell pointed to by
the index
vectorName - index -
InvalidDatastoreException
Collection<String> getKeys(String name)
throws InvalidDatastoreException
name
name -
InvalidDatastoreException
void initialize()
throws InvalidDatastoreException
InvalidDatastoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||