Class TemplatePropagationModel
java.lang.Object
org.noise_planet.noisemodelling.propagation.template.TemplatePropagationModel
- All Implemented Interfaces:
PropagationModel
Template of propagation model. To be used as a basis
for new P2P model implementation.
- Author:
- Martin Glesser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeAttenuation(SceneWithAttenuation scene, CutProfile cutProfile, AttenuationParameters attenuationParameters, boolean isExportAttenuationMatrix) Compute the attenuation for a given cut-profilecomputeDirectAttenuation(PathFinder.SourcePointInfo source, PathFinder.ReceiverPointInfo receiver, SceneWithAttenuation scene, AttenuationParameters attenuationParameters, boolean isExportAttenuationMatrix) Compute attenuation along direct path between source and receiver
-
Constructor Details
-
TemplatePropagationModel
public TemplatePropagationModel()Constructor for TemplatePropagationModel objects
-
-
Method Details
-
computeAttenuation
public List<AttenuationOutput> computeAttenuation(SceneWithAttenuation scene, CutProfile cutProfile, AttenuationParameters attenuationParameters, boolean isExportAttenuationMatrix) Compute the attenuation for a given cut-profile- Specified by:
computeAttenuationin interfacePropagationModel- Parameters:
scene- Geometrical information about the propagation scenecutProfile- Geometrical cross-sectionattenuationParameters- parameters of the computationisExportAttenuationMatrix- if true, store intermediate values in attenuationOutput for debugging purpose- Returns:
- List of AttenuationOutput objects
-
computeDirectAttenuation
public AttenuationOutput computeDirectAttenuation(PathFinder.SourcePointInfo source, PathFinder.ReceiverPointInfo receiver, SceneWithAttenuation scene, AttenuationParameters attenuationParameters, boolean isExportAttenuationMatrix) Compute attenuation along direct path between source and receiver- Specified by:
computeDirectAttenuationin interfacePropagationModel- Parameters:
source- source point informationreceiver- receiver point informationscene- Geometrical information about the propagation sceneattenuationParameters- parameters of the computationisExportAttenuationMatrix- if true, store intermediate values in attenuationOutput for debugging purpose- Returns:
- Attenuation
-