|
MyMediaLite
3.07
|
Class that offers static methods to read (binary) relation over entities into IBooleanMatrix objects. More...
Static Public Member Functions | |
| static IBooleanMatrix | Read (string filename, IMapping mapping) |
| Read binary relations from file. | |
| static IBooleanMatrix | Read (StreamReader reader, IMapping mapping) |
| Read binary relation data from file. | |
| static IBooleanMatrix | Read (IDataReader reader, IMapping mapping) |
| Read binary relation data from an IDataReader, e.g. a database via DbDataReader. | |
Class that offers static methods to read (binary) relation over entities into IBooleanMatrix objects.
| static IBooleanMatrix Read | ( | string | filename, |
| IMapping | mapping | ||
| ) | [inline, static] |
Read binary relations from file.
The expected (sparse) line format is: ENTITY_ID space/tab/comma ENTITY_ID for the relations that hold.
| filename | the name of the file to be read from |
| mapping | the mapping object for the given entity type |
| static IBooleanMatrix Read | ( | StreamReader | reader, |
| IMapping | mapping | ||
| ) | [inline, static] |
Read binary relation data from file.
The expected (sparse) line format is: ENTITY_ID space/tab/comma ENTITY_ID for the relations that hold.
| reader | a StreamReader to be read from |
| mapping | the mapping object for the given entity type |
| static IBooleanMatrix Read | ( | IDataReader | reader, |
| IMapping | mapping | ||
| ) | [inline, static] |
Read binary relation data from an IDataReader, e.g. a database via DbDataReader.
| reader | an IDataReader to be read from |
| mapping | the mapping object for the given entity type |
1.7.6.1