Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | List of all members
TYReflectionNoPruningStrategy Class Reference

Pruning strategy which never prunes the tree of reflecting segments (bruteforce image source method) More...

#include <TYReflectionPruningStrategy.h>

Inheritance diagram for TYReflectionNoPruningStrategy:
Inheritance graph
[legend]
Collaboration diagram for TYReflectionNoPruningStrategy:
Collaboration graph
[legend]

Public Member Functions

std::unique_ptr< TYAbstractReflectionPruningStrategyinstanciate () const override
 Instanciate a new pruning strategy of the same type. More...
 
void initialize (const std::vector< const TYSIntersection * > &currentReflectingSegments, const std::deque< OPoint3D > &currentImageSources) override
 Inform the pruning strategy of the current reflecting segments tree state. More...
 
bool pruningCriterionMet (const TYSIntersection &nextReflectingSegment) const override
 Check if the tree can be pruned before inserting the next reflecting segment. More...
 
- Public Member Functions inherited from TYAbstractReflectionPruningStrategy
virtual ~TYAbstractReflectionPruningStrategy ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from TYAbstractReflectionPruningStrategy
 TYAbstractReflectionPruningStrategy ()=default
 

Detailed Description

Pruning strategy which never prunes the tree of reflecting segments (bruteforce image source method)

Definition at line 67 of file TYReflectionPruningStrategy.h.

Member Function Documentation

◆ initialize()

void TYReflectionNoPruningStrategy::initialize ( const std::vector< const TYSIntersection * > &  currentReflectingSegments,
const std::deque< OPoint3D > &  currentImageSources 
)
inlineoverridevirtual

Inform the pruning strategy of the current reflecting segments tree state.

Parameters
currentReflectingSegmentsCurrent list of reflecting segments B1 to Bn
currentImageSourcesCurrent list of image sources from S0 to Sn

Implements TYAbstractReflectionPruningStrategy.

Definition at line 75 of file TYReflectionPruningStrategy.h.

◆ instanciate()

std::unique_ptr<TYAbstractReflectionPruningStrategy> TYReflectionNoPruningStrategy::instanciate ( ) const
inlineoverridevirtual

Instanciate a new pruning strategy of the same type.

Implements TYAbstractReflectionPruningStrategy.

Definition at line 70 of file TYReflectionPruningStrategy.h.

◆ pruningCriterionMet()

bool TYReflectionNoPruningStrategy::pruningCriterionMet ( const TYSIntersection nextReflectingSegment) const
inlineoverridevirtual

Check if the tree can be pruned before inserting the next reflecting segment.

Parameters
nextReflectingSegmentnext reflecting segment to add as a leaf of the current tree

Implements TYAbstractReflectionPruningStrategy.

Definition at line 80 of file TYReflectionPruningStrategy.h.


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