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
sampling.BaseSampler Class Referenceabstract

BaseSampler Basis class for parameter sampling classes. More...

Detailed Description

BaseSampler Basis class for parameter sampling classes.

Definition at line 18 of file BaseSampler.m.

Public Member Functions

function
samples = 
generateSamples (models.BaseFullModel model)
 
virtual function
samples = 
performSampling ()
 Template method for actual sampling. 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 ()
 

Static Public Member Functions

static function res = test_SubsetSampling ()
 setup parameter domain etc domain are all points in unit square with norm > 0.7 More...
 

Public Attributes

sampling.Domain Domain = "[]"
 A domain from which the produced/generated samples may come from. Use in subclasses at the sampling.BaseSampler.performSampling method. 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...
 

Static Protected Member Functions

static function obj = loadobj (obj, from)
 
- 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)
 

Additional Inherited Members

- 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)
 

Member Function Documentation

function samples = sampling.BaseSampler.generateSamples ( models.BaseFullModel  model)

Definition at line 44 of file BaseSampler.m.

References models.BaseModel.DefaultMu, models.BaseFirstOrderSystem.ParamCount, performSampling(), models.BaseModel.System, and models.BaseFullModel.TrainingParams.

Referenced by models.BaseFullModel.off1_createParamSamples().

Here is the call graph for this function:

Here is the caller graph for this function:

static function obj = sampling.BaseSampler.loadobj (   obj,
  from 
)
staticprotected

Definition at line 87 of file BaseSampler.m.

References KerMorObject.KerMorObject().

Here is the call graph for this function:

function samples = sampling.BaseSampler.performSampling ( )
pure virtual

Template method for actual sampling.

Referenced by generateSamples().

Here is the caller graph for this function:

function res = sampling.BaseSampler.test_SubsetSampling ( )
static

setup parameter domain etc domain are all points in unit square with norm > 0.7

Definition at line 106 of file BaseSampler.m.

References all().

Here is the call graph for this function:

Member Data Documentation

sampling.BaseSampler.Domain = "[]"

A domain from which the produced/generated samples may come from. Use in subclasses at the sampling.BaseSampler.performSampling method.

Default: []

See Also
sampling.Domain
Note
This property has custom functionality when its value is changed.

Definition at line 28 of file BaseSampler.m.


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