Skip to content

scram::mef::PeriodicTest::InstantTest ​

The tests are instantaneous and always successful, but repairs are not.

Inherits from scram::mef::PeriodicTest::InstantRepair

Public Functions ​

Name
InstantTest(Expression * lambda, Expression * mu, Expression * tau, Expression * theta, Expression * time)<br>The same semantics as for 5 argument periodic-test.
voidValidate() const override
doublevalue() override
doubleSample() override

Protected Attributes ​

Name
Expression &mu_ <br>The repair rate.

Public Functions Documentation ​

function InstantTest ​

cpp
inline InstantTest(
    Expression * lambda,
    Expression * mu,
    Expression * tau,
    Expression * theta,
    Expression * time
)

The same semantics as for 5 argument periodic-test.

function Validate ​

cpp
void Validate() const override

function value ​

cpp
double value() override

function Sample ​

cpp
double Sample() override

Protected Attributes Documentation ​

variable mu_ ​

cpp
Expression & mu_;

The repair rate.


Updated on 2025-12-19 at 21:56:46 +0000