主要内容

getAlternativeTypes

Alternative model or design types

Description

List = getAlternativeTypes(Model) returns a cell array of alternative model types with the same number of inputs as Model.

example

List = getAlternativeTypes(Boundary) returns a cell array of alternative boundary models with the same number of inputs as Boundary.

List = getAlternativeTypes(Design) returns a cell array of alternative designs with the same number of inputs as Design.

List = getAlternativeTypes(Design,Style) returns a cell array of alternative designs with the same number of inputs as Design with Style.

List = getAlternativeTypes(DesignGenerator) returns a cell array of alternative design generators with the same number of inputs as DesignGenerator.

List = getAlternativeTypes(DesignGenerator,Style) returns a cell array of alternative design generator types of the specified style.

List = getAlternativeTypes(CandidateSet) returns a cell array of alternative candidate sets.

List = getAlternativeTypes(DesignConstraint) returns a cell array of design constraint types.

Examples

collapse all

model = mbcmodel.CreateModel('RBF', 2);
altmodels = getAlternativeTypes(model)

The preceding code produces this output.

altmodels =

  1×10 cell array

  Columns 1 through 2

    {'Polynomial'}    {'Hybrid Spline'}

  Columns 3 through 5

    {'Gaussian Proces…'}    {'RBF'}    {'Polynomial-RBF'}

  Columns 6 through 7

    {'Hybrid Spline-RBF'}    {'Multiple Linear'}

  Columns 8 through 9

    {'Neural Network'}    {'Interpolating RBF'}

  Column 10

    {'Transient'}

Input Arguments

collapse all

Instance of mbcmodel.model class, specified as a mbcmodel.model model object.

Instance of mbcboundary.AbstractBoundary class or subclass, specified as a mbcboundary.AbstractBoundary object.

Instance of mbcdoe.design class, specified as a mbcdoe.design object.

Design type style, specified as an n-by-1 array of character vectors, where n is the number of designs.

The design style is one of the following:

  • 'Optimal'

  • 'Space-Filling'

  • 'Classical'

  • 'Candidate Set' (for design generator styles)

Data Types: char | string

Instance of mbcdoe.generator class, specified as a mbcdoe.generator object.

Instance of mbcdoe.candidateset class, specified as a mbcdoe.candidateset object. You can obtain the candidate set from an optimal design generator or use mbcdoe.design.CreateCandidateSet.

Instance of mbcdoe.designconstraint class, specified as a mbcdoe.designconstraint object.

Output Arguments

collapse all

List of alternative candidate for the current candidate set, returned as an n-by-1 array.

Version History

Introduced in R2007a