Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | List of all members
BPTSimpleMISWeight Class Referencefinal

Public Member Functions

 LM_COMPONENT_IMPL_DEF ("simple")
 
virtual bool Configure (const ConfigNode &node, const Assets &assets) override
 
virtual BPTMISWeightClone () const override
 
virtual Math::Float Evaluate (const BPTFullPath &fullPath) const override
 
- Public Member Functions inherited from BPTMISWeight
 LM_COMPONENT_INTERFACE_DEF ("bpt.mis")
 
- Public Member Functions inherited from Component
virtual std::string ComponentInterfaceTypeName () const =0
 
virtual std::string ComponentImplTypeName () const =0
 
- Public Member Functions inherited from SIMDAlignedType
void * operator new (std::size_t size) throw (std::bad_alloc)
 
void operator delete (void *p)
 

Detailed Description

Simple MIS weight. Defines simple MIS weight. Simply reciprocal of # of full-paths with positive probability.

Inheritance diagram for BPTSimpleMISWeight:
BPTMISWeight Component SIMDAlignedType

Member Function Documentation

virtual BPTMISWeight* BPTSimpleMISWeight::Clone ( ) const
inlineoverridevirtual

Clone the instance.

Returns
Duplicated instance.

Implements BPTMISWeight.

virtual bool BPTSimpleMISWeight::Configure ( const ConfigNode node,
const Assets assets 
)
inlineoverridevirtual

Configure. Configures MIS weighting function.

Parameters
nodeA XML element which consists of mis_weight element.
assetsAssets manager.
Return values
trueSucceeded to configure.
falseFailed to configure.

Implements BPTMISWeight.

Math::Float BPTSimpleMISWeight::Evaluate ( const BPTFullPath fullPath) const
overridevirtual

Evaluate MIS weight w_{s,t}.

Parameters
fullPathFull-path.
Returns
MIS weight.

Implements BPTMISWeight.


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