|
MATES 3.0-rc2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mates.sim.models.transport.DefaultTransportModel
By default, each host can send up to one unit of data per agent per iteration, with full link quality. This number will have a direct linear relationship to the link quality.
This models a network with infinite bandwidth but limited throughput.
Agent.getTransmissionSize()
Constructor Summary | |
DefaultTransportModel()
Default constructor. |
Method Summary | |
double |
getTransmissionRate(Host source,
Host destination)
Returns the transmission rate between two hosts. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultTransportModel()
Method Detail |
public double getTransmissionRate(Host source, Host destination)
source.
getSimulator
().
getLinkQuality
(source, destination)
.
getTransmissionRate
in interface TransportModel
|
MATES 3.0-rc2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |