nl: normally , the propagation of messages through channels and routers of the internet is affected by the propagation delays of the physical media , and the processing - , queuing - , and transmission delays of the routers . the so called internet propagation delay is modeled as the sum of a fixed part that combines the aforementioned router and propagation delays , and a variable part to reproduce the jitter . invoking this method returns the internet propagation delay in ms between two hosts in the internet . note that this delay is derived from measurement data , and it therefore estimates the one-way delay of the measured round-trip-times between the specified hosts . concode_field_sep GnpSubnet subnet concode_elem_sep GnpLatencyModel lm concode_field_sep void setLatencyModel concode_elem_sep int getGeoPriority concode_elem_sep double getGeographicalDistance
code: double function ( NetID arg0 , NetID arg1 ) { NetLayer loc0 = subnet . getNetLayer ( arg0 ) ; NetLayer loc1 = subnet . getNetLayer ( arg1 ) ; return lm . getPropagationDelay ( ( GnpNetLayer ) loc0 , ( GnpNetLayer ) loc1 ) / ( double ) Simulator . MILLISECOND_UNIT ; }