DRCL JavaSim API

drcl.intserv.scheduler
Class Translator_GR

java.lang.Object
  |
  +--drcl.intserv.RspecTranslator
        |
        +--drcl.intserv.scheduler.Translator_GR

public class Translator_GR
extends RspecTranslator

Generalized Rate Guarantee Translator: can work with any traffic model. It produces Rspecs in the SpecR_GR class.

The minimum end-to-end queueing delay is calculated using the following formula:

	buffer required at last hop = burst_ + hop * MTU
end-to-end delay = (buffer required at last hop) / minBW.

See Also:
SpecR_GR

Constructor Summary
Translator_GR()
           
 
Method Summary
 SpecR translate(SpecAd adspec_, QoSRequirement qos_)
          Given the Adspec, the method returns the "minimum" Rspec that satisfies the specified QoS requirement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Translator_GR

public Translator_GR()
Method Detail

translate

public SpecR translate(SpecAd adspec_,
                       QoSRequirement qos_)
Description copied from class: RspecTranslator
Given the Adspec, the method returns the "minimum" Rspec that satisfies the specified QoS requirement. It returns null if such an Rspec does not exist.
Overrides:
translate in class RspecTranslator

DRCL JavaSim API

Copyright © 2001 - DRCL, OSU     ~ Back to JavaSim Home ~