Class NoiseMapWriter

    • Field Detail

      • aWeightingArray

        public double[] aWeightingArray
    • Constructor Detail

      • NoiseMapWriter

        public NoiseMapWriter​(Connection connection,
                              NoiseMapByReceiverMaker noiseMapByReceiverMaker,
                              ResultsCache ResultsCache,
                              AtomicBoolean exitWhenDone,
                              AtomicBoolean aborted)
        Constructs a new NoiseMapWriter object with the specified parameters.
        Parameters:
        connection - the database connection used for writing data
        noiseMapByReceiverMaker - the parameters defining the noise map computation
        ResultsCache - the attenuated paths containing computed noise data
    • Method Detail

      • propagationPathAsJSON

        public String propagationPathAsJSON​(CnossosPath path)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • jsonToPropagationPath

        public static CnossosPath jsonToPropagationPath​(String json)
                                                 throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException