The SUMO toolbox  2018a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
Dataset Interface Reference

Interface class that contains functions that a dataset should support. More...

Inheritance diagram for Dataset:
Inheritance graph
[legend]

Public Member Functions

void loadText (InputStream stream) throws DataSourceException
 parse a file for data More...
 
void evaluate (SamplePoint sample) throws DataSourceException
 evaluate a samplepoint with the parsed data More...
 
int getInputDimension ()
 Get Input dimension of this dataset. More...
 
int getOutputDimension ()
 Get output dimension of this dataset. More...
 
RawDataset getRawDataset ()
 Get all points and values. More...
 
int getSize ()
 Get the size of the dataset. More...
 

Detailed Description

Interface class that contains functions that a dataset should support.

Member Function Documentation

void evaluate ( SamplePoint  sample) throws DataSourceException

evaluate a samplepoint with the parsed data

Parameters
sample
Exceptions
DataSourceException

Implemented in ScatteredDataset, and GriddedDataset.

int getInputDimension ( )

Get Input dimension of this dataset.

Implemented in GriddedDataset, and ScatteredDataset.

int getOutputDimension ( )

Get output dimension of this dataset.

Implemented in GriddedDataset, and ScatteredDataset.

RawDataset getRawDataset ( )

Get all points and values.

Implemented in GriddedDataset, and ScatteredDataset.

int getSize ( )

Get the size of the dataset.

Implemented in GriddedDataset, and ScatteredDataset.

void loadText ( InputStream  stream) throws DataSourceException

parse a file for data

Parameters
inputstream
Exceptions
DataSourceException

Implemented in GriddedDataset, and ScatteredDataset.


The documentation for this interface was generated from the following file: