Class AmbiguityCache


  • public class AmbiguityCache
    extends Object
    Cache for AmbiguityDriver.
    Since:
    12.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • AmbiguityCache

        public AmbiguityCache()
        Simple constructor.
    • Method Detail

      • getAmbiguity

        public AmbiguityDriver getAmbiguity​(String emitter,
                                            String receiver,
                                            double wavelength)
        Get a cached driver for ambiguity.

        A new parameter driver is created and cached the first time an emitter/receiver/wavelength triplet is used; after that, the cached driver will be returned when the same triplet is passed again

        Parameters:
        emitter - emitter id
        receiver - receiver id
        wavelength - signal wavelength
        Returns:
        parameter driver for the emitter/receiver/wavelength triplet