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

Can be used to define labels on a continuous interval. More...

Inheritance diagram for AssignLabels:
Inheritance graph
[legend]

Public Member Functions

function AssignLabels (var varargin)
 Class constructor. More...
 
function modify (var in)
 Converts the continuous output to labeled version (by default [-Inf, 0[ = 1; [0, Inf[ = 2. More...
 

Public Attributes

var ranges
 

Detailed Description

Can be used to define labels on a continuous interval.

The ranges parameter defines the boundaries for the labels. For example: ranges = [2, 3] Results in [-Inf, 2[ = Label 1 [2, 3[ = Label 2 [3, Inf[ = Label 3

Constructor & Destructor Documentation

function AssignLabels ( var  varargin)
inline

Class constructor.

Parameters
configNodeConfig object
Returns
instance of the Failure class.

Member Function Documentation

function modify ( var  in)
inline

Converts the continuous output to labeled version (by default [-Inf, 0[ = 1; [0, Inf[ = 2.

Parameters
inunmodified data
Return values
outmodified data

Member Data Documentation

var ranges

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