|
||||||||||
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 | |
---|---|
java.util.Collection<java.lang.String> |
getKeys(java.lang.String name)
get the keySet of a given Matrix/Vector as given by name |
double |
getWeight(java.lang.String vectorName,
java.lang.String index)
Gets a double value from the Vector pointed to by the vectorName from its cell pointed to by
the index |
double |
getWeight(java.lang.String matrixName,
java.lang.String row,
java.lang.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(java.lang.String matrixName, java.lang.String row, java.lang.String column) throws InvalidDatastoreException
matrixName
from its cell pointed to by
the row
and column
string
matrixName
- row
- column
-
InvalidDatastoreException
double getWeight(java.lang.String vectorName, java.lang.String index) throws InvalidDatastoreException
vectorName
from its cell pointed to by
the index
vectorName
- index
-
InvalidDatastoreException
java.util.Collection<java.lang.String> getKeys(java.lang.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 |