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

A criterion that ranks all points according to their projected distance score. More...

Inheritance diagram for ProjectedDistanceThreshold:
Inheritance graph
[legend]

Public Member Functions

function ProjectedDistanceThreshold (var varargin)
 
function getDesignType ()
 
function scoreCandidates (var points, var state)
 
function initNewSamples (var state)
 Initialized when new samples arrive. More...
 
function score (var candidates, var state)
 Scores a set of candidate samples. More...
 
function scoreMinimize (var candidates, var state)
 Simply calls -CandidateRanker.score(candidates, state) More...
 
function setOrder (var order)
 
function getType ()
 
function getDimension ()
 
function instantiate (var inDim, var varargin)
 
function plotRanker (var state, var newsamples)
 

Public Attributes

var alpha
 
var minDistance
 
var inDim
 
var scalingFunction
 
var sortOrder
 
var debug
 
var debugSave
 
var debugPlot
 

Detailed Description

A criterion that ranks all points according to their projected distance score.

If the projected distance is below a particular threshold, a huge penalty score is given so that these points are never picked.

Constructor & Destructor Documentation

function ProjectedDistanceThreshold ( var  varargin)
inline

Member Function Documentation

function getDesignType ( )
inline
function getDimension ( )
inlineinherited
function getType ( )
inlineinherited
function initNewSamples ( var  state)
inlineinherited

Initialized when new samples arrive.

function instantiate ( var  inDim,
var  varargin 
)
inlineinherited
function plotRanker ( var  state,
var  newsamples 
)
inlineinherited
function score ( var  candidates,
var  state 
)
inlineinherited

Scores a set of candidate samples.

Parameters
candidatesmatrix of candidate samples
statecurrent state
Return values
scoresvector of scores (priorites)
dscoresderivatives of scores w.r.t. candidates
function scoreCandidates ( var  points,
var  state 
)
inline
function scoreMinimize ( var  candidates,
var  state 
)
inlineinherited

Simply calls -CandidateRanker.score(candidates, state)

This is needed primarily for OptimizeCriterion, as multiple output arguments don't work with: func = -this.score(...)

Parameters
candidatesmatrix of candidate samples
statecurrent state
Return values
scoresvector of -scores (lower is better)
dscoresderivatives of -scores w.r.t. candidates
function setOrder ( var  order)
inlineinherited

Member Data Documentation

var alpha
var debug
inherited
var debugPlot
inherited
var debugSave
inherited
var inDim
inherited
var minDistance
var scalingFunction
inherited
var sortOrder
inherited

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