Class CnossosPropagationModel
java.lang.Object
org.noise_planet.noisemodelling.propagation.cnossos.CnossosPropagationModel
- All Implemented Interfaces:
PropagationModel
CNOSSOS P2P propagation model
- Author:
- Martin Glesser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<double[]> computeAttenuation(SceneWithAttenuation scene, CutProfile cutProfile, List<CnossosPath> paths, AttenuationParameters attenuationParameters, boolean isExportAttenuationMatrix) Compute the attenuation for a list of pathsdouble[]computeDirectAttenuation(PathFinder.SourcePointInfo source, PathFinder.ReceiverPointInfo receiver, SceneWithAttenuation scene, AttenuationParameters attenuationParameters, boolean isExportAttenuationMatrix) Compute attenuation along direct path between source and receivercomputePaths(SceneWithAttenuation scene, CutProfile cutProfile) Compute the propagation paths for a given geometrical cross-section / cut profile
-
Constructor Details
-
CnossosPropagationModel
public CnossosPropagationModel()Constructor for CnossosPropagationModel objects
-
-
Method Details
-
computePaths
Compute the propagation paths for a given geometrical cross-section / cut profile- Specified by:
computePathsin interfacePropagationModel- Parameters:
scene- Geometrical information about the propagation scenecutProfile- Geometrical cross-section- Returns:
- List of Cnossos propagation paths
-
computeAttenuation
public List<double[]> computeAttenuation(SceneWithAttenuation scene, CutProfile cutProfile, List<CnossosPath> paths, AttenuationParameters attenuationParameters, boolean isExportAttenuationMatrix) Compute the attenuation for a list of paths- Specified by:
computeAttenuationin interfacePropagationModel- Parameters:
scene- Geometrical information about the propagation scenecutProfile- Geometrical cross-sectionpaths- List of propagation paths (Cnossos specific)attenuationParameters- parameters of the computationisExportAttenuationMatrix- if true, store intermediate values in proPathParameters for debugging purpose- Returns:
- Attenuation for the homogeneous and favourable path
-
computeDirectAttenuation
public double[] 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 proPathParameters for debugging purpose- Returns:
- Attenuation
-