Public Member Functions | |
StudentsTTest (const PropertyList &propList) | |
virtual void | addChild (NoriObject *obj) override |
Add a child object to the current instance. More... | |
virtual void | activate () override |
Invoke a series of t-tests on the provided input. | |
virtual std::string | toString () const override |
Return a brief string summary of the instance (for debugging purposes) | |
virtual EClassType | getClassType () const override |
Return the type of object (i.e. Mesh/BSDF/etc.) provided by this instance. | |
Public Member Functions inherited from NoriObject | |
virtual | ~NoriObject () |
Virtual destructor. | |
virtual void | setParent (NoriObject *parent) |
Set the parent object. More... | |
void | setIdName (const std::string &name) |
Allow to assign a name to the object. | |
const std::string & | getIdName () const |
Additional Inherited Members | |
Public Types inherited from NoriObject | |
enum | EClassType { EScene = 0 , EMesh , ETexture , EBSDF , EPhaseFunction , EEmitter , EMedium , ECamera , EIntegrator , ESampler , ETest , EReconstructionFilter , EClassTypeCount } |
Static Public Member Functions inherited from NoriObject | |
static std::string | classTypeName (EClassType type) |
Turn a class type into a human-readable string. | |
Protected Attributes inherited from NoriObject | |
std::string | m_idname |
Student's t-test for the equality of means
This test analyzes whether the expected value of a random variable matches a certain known value. When there is significant statistical "evidence" against this hypothesis, the test fails.
This is useful in checking whether a Monte Carlo method method converges against the right value. Because statistical tests are able to handle the inherent noise of these methods, they can be used to construct statistical test suites not unlike the traditional unit tests used in software engineering.
This implementation can be used to test two things:
|
inlineoverridevirtual |
Add a child object to the current instance.
The default implementation does not support children and simply throws an exception
Reimplemented from NoriObject.