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

A fast data source which reads data from files and doesn't use java code. More...

Inheritance diagram for DatasetDirectDataSource:
Inheritance graph

Public Member Functions

function DatasetDirectDataSource (var config)
function submitSamplesForEvaluation (var samplePointsIn)
function fetchEvaluatedSample ()
function evaluate (var sampleToEvaluate)
function getStatus ()
function getNumPendingSamples ()
function getNumEvaluatedSamples ()
function getAverageEvaluationTime ()
function cleanup ()

Public Attributes

var fName
 file containing <samples, values> More...
var samples
 input values More...
var values
 output values More...
var unUsedSamples
 keeps track of evaluated samples More...
var inSimDim
 input dimensions More...
var outSimDim
 simulator output dimension More...
var numFiles
var numPoints
 Number of samples in the scattered dataset. More...
var logger
var errorMessage
 Set when this.isActive is set to false. More...
var samplePoints
 samplePoints queue (for submission) More...
var samplePointsFinished
 samplePoints queue (returned) More...
var fProjectDir
var isActive
var totalTime
var nrEvaluated

Detailed Description

A fast data source which reads data from files and doesn't use java code.

Constructor & Destructor Documentation

function DatasetDirectDataSource ( var  config)

Member Function Documentation

function cleanup ( )
function evaluate ( var  sampleToEvaluate)
function fetchEvaluatedSample ( )
function getAverageEvaluationTime ( )
function getNumEvaluatedSamples ( )
function getNumPendingSamples ( )
function getStatus ( )
function submitSamplesForEvaluation ( var  samplePointsIn)

Member Data Documentation

var errorMessage

Set when this.isActive is set to false.

var fName

file containing <samples, values>

var fProjectDir
var inSimDim

input dimensions

var isActive
var logger
var nrEvaluated
var numFiles
var numPoints

Number of samples in the scattered dataset.

var outSimDim

simulator output dimension

var samplePoints

samplePoints queue (for submission)

var samplePointsFinished

samplePoints queue (returned)

var samples

input values

var totalTime
var unUsedSamples

keeps track of evaluated samples

var values

output values

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