public

Inheritance Graph

graph BT
	MutationCandidates
	click MutationCandidates "classMinSG_1_1AGVS_1_1MutationCandidates"

Description

Manager for mutation candidates needed by mutation-based distributions.

Classes

   
struct MinSG::AGVS::MutationCandidates::Implementation

Public Functions

   
   
  MutationCandidates()
   
  ~MutationCandidates()
   
void addMutationCandidate(const Sample < float > & sample, const contribution_t & contribution, ValuatedRegionNode * viewCell)
   
bool isEmpty() const
Returntrueif there are no mutation candidates available.
   
const MutationCandidate < float > & getMutationCandidate()
Return a mutation candidate with minimum number of mutations.

Documentation

function
MinSG::AGVS::MutationCandidates::MutationCandidates

public
   
   
MutationCandidates( )

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/MutationCandidates.h:38


function
MinSG::AGVS::MutationCandidates::~MutationCandidates

public
   
   
~MutationCandidates( )

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/MutationCandidates.h:39


function
MinSG::AGVS::MutationCandidates::addMutationCandidate

public
     
     
void addMutationCandidate( const Sample < float > & sample,
  const contribution_t & contribution,
  ValuatedRegionNode * viewCell
)    

Add a sample that has contributed at least one object to view cells. Depending on its contribution, one or two mutation candidates are created.

See also: section 4.4 “Mutation-Based Distributions”

Parameters

sample
Sample that is the source for a new mutation candidate
contribution
The contribution of the sample
viewCell
View cell containing the origin of the sample

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/MutationCandidates.h:51


function
MinSG::AGVS::MutationCandidates::isEmpty

public const
   
   
bool isEmpty( ) const

Returntrueif there are no mutation candidates available.

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/MutationCandidates.h:56


function
MinSG::AGVS::MutationCandidates::getMutationCandidate

public
   
   
const MutationCandidate < float > & getMutationCandidate( )

Return a mutation candidate with minimum number of mutations.

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/MutationCandidates.h:59