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

#include <bpt.mis.h>

Public Member Functions

 LM_COMPONENT_INTERFACE_DEF ("bpt.mis")
 
virtual bool Configure (const ConfigNode &node, const Assets &assets)=0
 
virtual BPTMISWeightClone () const =0
 
virtual Math::Float Evaluate (const BPTFullPath &fullPath) const =0
 
- 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

MIS weighting function for Veach's BPT. Veach's BPT requires to compute weighting function for full-path. Various techniques can be considered so we separated the implmenetations as component classes.

Inheritance diagram for BPTMISWeight:
Component SIMDAlignedType BPTPowerHeuristicsMISWeight BPTPowerHeuristicsNaiveMISWeight BPTSimpleMISWeight

Member Function Documentation

virtual BPTMISWeight* BPTMISWeight::Clone ( ) const
pure virtual

Clone the instance.

Returns
Duplicated instance.

Implemented in BPTPowerHeuristicsMISWeight, BPTPowerHeuristicsNaiveMISWeight, and BPTSimpleMISWeight.

virtual bool BPTMISWeight::Configure ( const ConfigNode node,
const Assets assets 
)
pure virtual

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.

Implemented in BPTPowerHeuristicsMISWeight, BPTPowerHeuristicsNaiveMISWeight, and BPTSimpleMISWeight.

virtual Math::Float BPTMISWeight::Evaluate ( const BPTFullPath fullPath) const
pure virtual

Evaluate MIS weight w_{s,t}.

Parameters
fullPathFull-path.
Returns
MIS weight.

Implemented in BPTPowerHeuristicsMISWeight, BPTPowerHeuristicsNaiveMISWeight, and BPTSimpleMISWeight.


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