Inherits eis::ParallelSerial.
|
|
| Serial (std::vector< Componant * > componantsIn=std::vector< Componant * >()) |
|
| Serial (const Serial &in) |
|
void | operator= (const Serial &in) |
| virtual std::complex< fvalue > | execute (fvalue omaga) override |
| virtual char | getComponantChar () const override |
| virtual std::string | getComponantString (bool currentValue=true, bool withCount=false) const override |
| | Gets this componant as a model string.
|
| virtual std::string | componantName () const override |
| virtual bool | compileable () override |
| virtual std::string | getCode (std::vector< std::string > ¶meters) override |
| virtual std::string | getTorchScript (std::vector< std::string > ¶meters) override |
| virtual std::vector< fvalue > | contributionRatio (fvalue omega) override |
|
std::vector< bool > | contributes (fvalue omega, fvalue threshold=0.01) |
|
virtual void | setParamRanges (const std::vector< eis::Range > &ranges) |
|
virtual std::vector< eis::Range > & | getParamRanges () |
|
virtual std::vector< eis::Range > | getParamRanges () const |
|
virtual std::vector< eis::Range > | getDefaultParameters (bool range=true) const |
|
virtual size_t | paramCount () const |
|
std::string | getUniqueName () |
| bool | hasDefaultedParameters () const |
| | Checks if this componant had to use default parameters.
|
|
|
static constexpr char | staticGetComponantChar () |
|
static Componant * | copy (Componant *componant) |
|
static Componant * | createNewComponant (char componant, std::string paramStr="", size_t count=1, bool defaultToRange=false) |
|
static bool | isValidComponantChar (char componant) |
|
|
void | initRanges (const std::string ¶mStr, size_t count, bool defaultToRange) |
|
std::vector< eis::Range > | ranges |
|
std::string | uniqueName |
|
bool | defaultedParameters = false |
◆ compileable()
| virtual bool eis::Serial::compileable |
( |
| ) |
|
|
overridevirtual |
◆ componantName()
| virtual std::string eis::Serial::componantName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ contributionRatio()
| virtual std::vector< fvalue > eis::Serial::contributionRatio |
( |
fvalue | omega | ) |
|
|
overridevirtual |
◆ execute()
| virtual std::complex< fvalue > eis::Serial::execute |
( |
fvalue | omaga | ) |
|
|
overridevirtual |
◆ getCode()
| virtual std::string eis::Serial::getCode |
( |
std::vector< std::string > & | parameters | ) |
|
|
overridevirtual |
◆ getComponantChar()
| virtual char eis::Serial::getComponantChar |
( |
| ) |
const |
|
overridevirtual |
◆ getComponantString()
| virtual std::string eis::Serial::getComponantString |
( |
bool | currentValue = true, |
|
|
bool | withCount = false ) const |
|
overridevirtual |
Gets this componant as a model string.
- Parameters
-
| currentValue | If true, the current step value of each parameter is printed instead of its range. |
| withCount | If true and currentValue is false, the sweep step count is appended to each range as start~endL:count, so that the string round trips through eis::Range::fromString. Ignored for current values. |
Reimplemented from eis::Componant.
◆ getTorchScript()
| virtual std::string eis::Serial::getTorchScript |
( |
std::vector< std::string > & | parameters | ) |
|
|
overridevirtual |