KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
demos.RandomModelEstimatorAnalyzer Class Reference

Demo class for the error estimators. Creates a random model using a kernel expansion that can be configured with the provided properties. More...

Detailed Description

Demo class for the error estimators. Creates a random model using a kernel expansion that can be configured with the provided properties.

Author
Daniel Wirtz
Date
25.11.2010
Change in 0.2:
(Daniel Wirtz, 2011-03-22) Fixed the constructor to only take an optional dimension argument.

Definition at line 18 of file RandomModelEstimatorAnalyzer.m.

Public Member Functions

 RandomModelEstimatorAnalyzer (dims)
 Creates a new estimator demo. More...
 
function  setup ()
 
function  newCoeffs ()
 Function coefficients. More...
 
- Public Member Functions inherited from EstimatorAnalyzer
 EstimatorAnalyzer (models.BaseFullModel model)
 
function  setModel (models.BaseFullModel model)
 Sets the model to use for the estimator demo. More...
 
function est = getDefaultEstStruct ()
 Returns the default structure for the Est property of this class. Contains only the error.DefaultEstimator class labeled True error. More...
 
function [ errs ,

relerrs , ctimes ,
double t ,
PlotManager
pm ] = 
compute (colvec mu,integer inidx,PlotManager pm)
 Runs the demo with the current settings. More...
 
function [ errs ,
ctimes ,

varargout ] = 
getErrorEstimates (colvec< double > mu, inidx, withrel)
 
function
relerrs = 
getRelativeErrorEstimates (errs,colvec< double > mu, inidx)
 
function pm = createPlots (errs, relerrs, ctimes, pm)
 
function  plotErrors (errs, pm)
 
function  plotRelativeErrors (relerrs, pm)
 
function  plotCTimes (errs, ctimes, pm)
 
function pt = getResultTable (errs, ctimes)
 
function ts = createStatsTables (sort)
 Creates LaTeX tables with each the Errors,Relative errors,Overestimations and Computation times for the demos started since creation of the EstimatorAnalyzer. More...
 

Public Attributes

 Dims = 500
 System dimension. More...
 
 NumCenters = 10
 Number of centers used in kernel expansion. More...
 
 PositiveExpansion = false
 Strictly positive kernel expansion? More...
 
 UniformExpansion = false
 Uniform expansion or comp-wise separate? More...
 
- Public Attributes inherited from EstimatorAnalyzer
models.BaseFullModel Model
 The used model. More...
 
models.ReducedModel ReducedModel
 The reduced model. More...
 
rowvec EstimatorIterations = "[1 2]"
 How many estimator iterations should be performed? More...
 
rowvec EstimatorVersions = "[1 1 0 0 1 0 0 1]"
 Chooses the estimator versions. Set to 1 for use, 0 for not use. 1: True Error 2: GLE, Global Lipschitz estimator. 3: LGL, Local Gradient Lipschitz 4: LSL, Local Secant Lipschitz 5: ILSL, Improved Local Secant Lipschitz 6: LGL TD, Time Discrete Local Gradient Lipschitz 7: LSL TD, Time Discrete Local Secant Lipschitz 8: ILSL TD, Time Discrete Improved Local Secant Lipschitz. More...
 
logical LogarithmicPlot = true
 Determines whether to plot the errors on a logarithmic scale or not. More...
 
char SaveTexTables = "tables.tex"
 Flag whether to save the time results as a LaTeX-Table into a text file. More...
 
logical SortResultTable = false
 Set flag to sort the resulting computation time and estimates table by the product of comp-time and error estimate. More...
 
logical UseOutputError = true
 Flag wether to use the output errors or state variable errors. More...
 
 MarkerSize = 8
 The marker size for error and relative errors plots. More...
 
 NumMarkers = 5
 The number of markers for error and relative errors plots. More...
 
 LineWidth = 2
 The line width to use. More...
 
 ErrorOrders = "[1 2 3 5 10]"
 % DEIM estimator related stuff The error orders to use. Unset if the JacDEIM/SimTranssizes version should be used. More...
 
struct Est
 A struct containing information about different error estimators. More...
 
 PlotStartIndex = 1
 The position where to start plotting error estimates. More...
 
 ModelData
 A struct with fields Name, ErrsT, RelErrsT that contains information about the estimations of the different error estimators. More...
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs. More...
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. More...
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends. More...
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function. More...
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. More...
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects. More...
 
 findprop
 Returns a meta.property objects associated with the specified property name. More...
 
 fields
 Returns a cell array of string containing the names of public properties. More...
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. More...
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. More...
 
 eq
 Relational functions example. See details for more information. More...
 
 transpose
 Transposes the elements of the handle object array. More...
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function. More...
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. More...
 
 sort
 ort the handle objects in any array in ascending or descending order. More...
 

Constructor & Destructor Documentation

demos.RandomModelEstimatorAnalyzer.RandomModelEstimatorAnalyzer (   dims)

Creates a new estimator demo.

Parameters
dimsA scalar defining the dimensions of the default test model. Calling the constructor with no arguments causes the Demo to use the default demo model with the default dimension size (500).

Definition at line 74 of file RandomModelEstimatorAnalyzer.m.

References Dims, EstimatorAnalyzer.Model, and newCoeffs().

Here is the call graph for this function:

Member Function Documentation

function demos.RandomModelEstimatorAnalyzer.newCoeffs ( )

Function coefficients.

Definition at line 153 of file RandomModelEstimatorAnalyzer.m.

References Dims, models.BaseFirstOrderSystem.f, EstimatorAnalyzer.Model, NumCenters, PositiveExpansion, setup(), models.BaseModel.System, and UniformExpansion.

Referenced by RandomModelEstimatorAnalyzer().

Here is the call graph for this function:

Here is the caller graph for this function:

function demos.RandomModelEstimatorAnalyzer.setup ( )

Member Data Documentation

demos.RandomModelEstimatorAnalyzer.Dims = 500

System dimension.


Default: 500

Note
This property has custom functionality when its value is changed.

Definition at line 35 of file RandomModelEstimatorAnalyzer.m.

Referenced by newCoeffs(), RandomModelEstimatorAnalyzer(), and setup().

demos.RandomModelEstimatorAnalyzer.NumCenters = 10

Number of centers used in kernel expansion.


Default: 10

Note
This property has custom functionality when its value is changed.

Definition at line 44 of file RandomModelEstimatorAnalyzer.m.

Referenced by newCoeffs(), and setup().

demos.RandomModelEstimatorAnalyzer.PositiveExpansion = false

Strictly positive kernel expansion?


Default: false

Note
This property has custom functionality when its value is changed.

Definition at line 53 of file RandomModelEstimatorAnalyzer.m.

Referenced by newCoeffs(), and setup().

demos.RandomModelEstimatorAnalyzer.UniformExpansion = false

Uniform expansion or comp-wise separate?


Default: false

Note
This property has custom functionality when its value is changed.

Definition at line 62 of file RandomModelEstimatorAnalyzer.m.

Referenced by newCoeffs(), and setup().


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