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

Aggregates several candidateRankers into one score (using a weighted average). More...

Inheritance diagram for AggregateObjective:
Inheritance graph
[legend]

Public Member Functions

function AggregateObjective (var varargin)
 
function getDesignType ()
 
function initNewSamples (var state)
 
function scoreCandidates (var points, var state)
 
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 candidateRankers
 
var aggregate
 
var constraintMode
 
var outputIdx
 denotes which output goes to what CandidateRanker More...
 
var weights
 
var inDim
 
var scalingFunction
 
var sortOrder
 
var debug
 
var debugSave
 
var debugPlot
 

Detailed Description

Aggregates several candidateRankers into one score (using a weighted average).

Constructor & Destructor Documentation

function AggregateObjective ( var  varargin)
inline

Member Function Documentation

function getDesignType ( )
inline
function getDimension ( )
inlineinherited
function getType ( )
inlineinherited
function initNewSamples ( var  state)
inline
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
Todo:
aggregate derivatives
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 aggregate
var candidateRankers
var constraintMode
var debug
inherited
var debugPlot
inherited
var debugSave
inherited
var inDim
inherited
var outputIdx

denotes which output goes to what CandidateRanker

var scalingFunction
inherited
var sortOrder
inherited
var weights

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