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
kernels.config.ExpansionConfig Class Reference

ExpansionConfig: Base class config for kernel expansions. More...

Detailed Description

ExpansionConfig: Base class config for kernel expansions.

Author
Daniel Wirtz
Date
2012-11-22
New in 0.7:
(Daniel Wirtz, 2012-11-22) Added this class.

This class is part of the framework

KerMor - Model Order Reduction using Kernels

Definition at line 19 of file ExpansionConfig.m.

Public Member Functions

 ExpansionConfig ()
 
function n = getNumConfigurations ()
 Returns the number of configurations that can be applied. More...
 
function kernels.KernelExpansion
kexp = 
configureInstance (nr)
 
function str = getConfigurationString (nr, asCell)
 
function str = getConfiguredPropertiesString ()
 Returns a string of the changed properties by this IClassConfig instance. More...
 
function conf = getSubPart (partNr, totalParts)
 
function copy = clone (copy)
 The interface method with returns a copy of the current class instance. More...
 
function  guessGammaConfigs (data.ApproxTrainData atd,integer ng,double mf,double Mf)
 Guesses ng \(\gamma\) values that might be geometrically senseful and sets the applicable RBFConfig instances. More...
 
- Public Member Functions inherited from IClassConfig
function lbl = getAxisLabels (nrs)
 
function double tgetValueRanges ()
 
function copy = clone (copy)
 The interface method with returns a copy of the current class instance. More...
 
virtual function ICloneable object = configureInstance (integer nr)
 Creates a new instance with given configuration. More...
 
virtual function integer str = getConfigurationString (integer nr,logical asCell)
 Returns the number of configurations that can be applied. More...
 
virtual function IClassConfig conf = getSubPart (integer partNr,integer totalParts)
 Returns a sub-part of this configuration as a new instance. More...
 
- Public Member Functions inherited from KerMorObject
 KerMorObject ()
 Constructs a new KerMor object. More...
 
function  display ()
 disp(object2str(this)); More...
 
function bool = eq (B)
 Checks equality of two KerMor objects. More...
 
function bool = ne (B)
 Checks if two KerMorObjects are different. More...
 
function cn = getClassName ()
 Returns the simple class name of this object without packages. More...
 
- Public Member Functions inherited from DPCMObject
 DPCMObject ()
 Creates a new DPCM object. More...
 
 DPCMObject ()
 

Public Attributes

IClassConfig StateConfig = "[]"
 The state space kernel configuration. More...
 
- Public Attributes inherited from IClassConfig
ICloneable Prototype
 The prototype class that is to be used as base class before configuring a new instance. More...
 
- Public Attributes inherited from DPCMObject
 WorkspaceVariableName = ""
 The workspace variable name of this class. Optional. More...
 
 ID = "[]"
 An ID that allows to uniquely identify this DPCMObject (at least within the current MatLab session/context). More...
 
 PropertiesChanged = "[]"
 The Dictionary containing all the property settings as key/value pairs. 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...
 

Protected Member Functions

function  collectRanges (ptable, proppath)
 
function obj = loadobj ()
 
- Protected Member Functions inherited from IClassConfig
function ptype = getProtoClass ()
 
function idx = getPartIndices (partNr, totalParts)
 
function  addRange (ptable, proppath, minval, maxval)
 
function obj = loadobj (from)
 
- Protected Member Functions inherited from KerMorObject
function  checkType (obj, type)
 Object typechecker. More...
 
- Protected Member Functions inherited from DPCMObject
function  registerProps (varargin)
 Call this method at any class that defines DPCM observed properties. More...
 
function  registerProps (varargin)
 

Additional Inherited Members

- Static Public Member Functions inherited from IClassConfig
static function  test_ClassConfigPlots ()
 
- Static Protected Member Functions inherited from DPCMObject
static function obj = loadobj (obj, from)
 Re-register any registered change listeners! More...
 
static function obj = loadobj (obj, from)
 
- Protected Attributes inherited from IClassConfig
char RequiredPrototypeClass = "[]"
 Determines the class that is allowed to be configured. More...
 

Constructor & Destructor Documentation

kernels.config.ExpansionConfig.ExpansionConfig ( )

Member Function Documentation

function copy = kernels.config.ExpansionConfig.clone (   target)
virtual

The interface method with returns a copy of the current class instance.

Parameters
targetIf clone was called for a subclass of this class, target must contain the new instance of the subclass that is to be the cloned result.

Implements ICloneable.

Definition at line 99 of file ExpansionConfig.m.

References IClassConfig.clone(), and StateConfig.

Referenced by approx.algorithms.ABase.clone(), and getSubPart().

Here is the call graph for this function:

Here is the caller graph for this function:

function kernels.config.ExpansionConfig.collectRanges (   ptable,
  proppath 
)
protectedvirtual

Implements IClassConfig.

Reimplemented in kernels.config.ParamTimeExpansionConfig.

Definition at line 165 of file ExpansionConfig.m.

References IClassConfig.collectRanges(), KerMorObject.getClassName(), and StateConfig.

Here is the call graph for this function:

function kernels.KernelExpansionkexp = kernels.config.ExpansionConfig.configureInstance (   nr)

Definition at line 66 of file ExpansionConfig.m.

References IClassConfig.configureInstance(), IClassConfig.getProtoClass(), and StateConfig.

Here is the call graph for this function:

function str = kernels.config.ExpansionConfig.getConfigurationString (   nr,
  asCell 
)

Definition at line 74 of file ExpansionConfig.m.

References IClassConfig.getConfigurationString(), and StateConfig.

Here is the call graph for this function:

function str = kernels.config.ExpansionConfig.getConfiguredPropertiesString ( )
virtual

Returns a string of the changed properties by this IClassConfig instance.

Return values
strThe string

Implements IClassConfig.

Reimplemented in kernels.config.ParamTimeExpansionConfig.

Definition at line 86 of file ExpansionConfig.m.

References IClassConfig.getConfiguredPropertiesString(), and StateConfig.

Here is the call graph for this function:

function n = kernels.config.ExpansionConfig.getNumConfigurations ( )
virtual

Returns the number of configurations that can be applied.

Return values
nThe number of configurations

Implements IClassConfig.

Reimplemented in kernels.config.ParamTimeExpansionConfig.

Definition at line 58 of file ExpansionConfig.m.

References IClassConfig.getNumConfigurations(), and StateConfig.

Referenced by approx.algorithms.Componentwise.collectFromExpConfigSplit(), approx.algorithms.ABase.computeApproximation(), approx.algorithms.Componentwise.plotSummary(), approx.algorithms.VKOGA.startAdaptiveExtension(), and approx.algorithms.AAdaptiveBase.templateComputeApproximation().

Here is the call graph for this function:

Here is the caller graph for this function:

function conf = kernels.config.ExpansionConfig.getSubPart (   partNr,
  totalParts 
)

Definition at line 91 of file ExpansionConfig.m.

References clone(), IClassConfig.getSubPart(), and StateConfig.

Here is the call graph for this function:

function kernels.config.ExpansionConfig.guessGammaConfigs ( data.ApproxTrainData  atd,
integer  ng,
double  mf,
double  Mf 
)

Guesses ng \(\gamma\) values that might be geometrically senseful and sets the applicable RBFConfig instances.

Parameters
atdThe approximation training data
ngThe number of \(\gamma\) values to guess
mfThe factor for minimum sample data distance Default: .5
MfThe factor for the bounding box diameter Default: 2
Required fields of atd:

Definition at line 110 of file ExpansionConfig.m.

References data.ApproxTrainData.hasParams, data.ApproxTrainData.hasTime, k, data.ApproxTrainData.muiDia, data.ApproxTrainData.tiDia, and data.ApproxTrainData.xiDia.

function obj = kernels.config.ExpansionConfig.loadobj ( )
protected

Definition at line 173 of file ExpansionConfig.m.

Member Data Documentation


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