KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
ExpansionConfig: Base class config for kernel expansions. More...
ExpansionConfig: Base class config for kernel expansions.
This class is part of the framework
Homepage
http://www.morepas.org/software/index.htmlDocumentation
http://www.morepas.org/software/kermor/index.htmlLicense
KerMor license conditions 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 t = | getValueRanges () |
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... | |
kernels.config.ExpansionConfig.ExpansionConfig | ( | ) |
Definition at line 52 of file ExpansionConfig.m.
References IClassConfig.Prototype, and IClassConfig.RequiredPrototypeClass.
|
virtual |
The interface method with returns a copy of the current class instance.
target | If 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().
|
protectedvirtual |
Implements IClassConfig.
Reimplemented in kernels.config.ParamTimeExpansionConfig.
Definition at line 165 of file ExpansionConfig.m.
References IClassConfig.collectRanges(), KerMorObject.getClassName(), and StateConfig.
function kernels.KernelExpansionkexp = kernels.config.ExpansionConfig.configureInstance | ( | nr | ) |
Definition at line 66 of file ExpansionConfig.m.
References IClassConfig.configureInstance(), IClassConfig.getProtoClass(), and StateConfig.
function str = kernels.config.ExpansionConfig.getConfigurationString | ( | nr, | |
asCell | |||
) |
Definition at line 74 of file ExpansionConfig.m.
References IClassConfig.getConfigurationString(), and StateConfig.
|
virtual |
Returns a string of the changed properties by this IClassConfig instance.
str | The string |
Implements IClassConfig.
Reimplemented in kernels.config.ParamTimeExpansionConfig.
Definition at line 86 of file ExpansionConfig.m.
References IClassConfig.getConfiguredPropertiesString(), and StateConfig.
|
virtual |
Returns the number of configurations that can be applied.
n | The 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().
function conf = kernels.config.ExpansionConfig.getSubPart | ( | partNr, | |
totalParts | |||
) |
Definition at line 91 of file ExpansionConfig.m.
References clone(), IClassConfig.getSubPart(), and StateConfig.
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.
atd | The approximation training data |
ng | The number of \(\gamma\) values to guess |
mf | The factor for minimum sample data distance Default: .5 |
Mf | The factor for the bounding box diameter Default: 2 |
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.
|
protected |
Definition at line 173 of file ExpansionConfig.m.
kernels.config.ExpansionConfig.StateConfig = "[]" |
The state space kernel configuration.
Default: []
Definition at line 40 of file ExpansionConfig.m.
Referenced by clone(), collectRanges(), configureInstance(), getConfigurationString(), getConfiguredPropertiesString(), getNumConfigurations(), getSubPart(), kernels.config.ParamTimeExpansionConfig.getSubPart(), and approx.algorithms.ABase.getTotalNumConfigurations().