Class AttenuationOutputMultiThread

java.lang.Object
org.noise_planet.noisemodelling.jdbc.output.AttenuationOutputMultiThread
All Implemented Interfaces:
CutPlaneVisitorFactory

public class AttenuationOutputMultiThread extends Object implements CutPlaneVisitorFactory
This class is built on each new computation cell area. It will create for each thread (range of receivers) an instance of AttenuationOutputSingleThread
  • Field Details

  • Constructor Details

    • AttenuationOutputMultiThread

      public AttenuationOutputMultiThread(SceneWithEmission inputData, PropagationModelCreator propagationModelCreator, ResultsCache resultsCache, NoiseMapDatabaseParameters noiseMapDatabaseParameters, AtomicBoolean exitWhenDone, AtomicBoolean aborted)
      Create NoiseMap constructor
      Parameters:
      inputData - Geometrical information about the propagation scene
      resultsCache - Results cache
      noiseMapDatabaseParameters - Propagation parameters
    • AttenuationOutputMultiThread

      public AttenuationOutputMultiThread(SceneWithEmission sceneWithEmission)
      Constructor for AttenuationOutputMultiThread with Cnossos propagation model (for testing purpose).
      Parameters:
      sceneWithEmission - Geometrical information about the propagation scene
  • Method Details

    • subProcess

      public CutPlaneVisitor subProcess(org.h2gis.api.ProgressVisitor visitor)
      Create a collector of Vertical Cut that will be processed by a single thread (an interval of receivers points)
      Specified by:
      subProcess in interface CutPlaneVisitorFactory
      Parameters:
      visitor - Progression information, used to cancel processing too
      Returns:
      an instance of the interface IComputePathsOut