|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.domain.diffserv.RDMModel
public class RDMModel
Implements the Russian Dolls Bandwidth Constraints Model (See RFC 4127)
Creation date: 8/01/2008
Method Summary | |
---|---|
boolean |
checkConstraints(Domain domain,
float[] bc,
float mrbw)
Check that classtypes are all present from 0 to nbCT. BC(x) <= BC(x-1), for all x: 1 <= x <= maxCT BC0 = mrbw |
static RDMModel |
getInstance()
|
float[] |
getReservableBandwidth(Domain domain,
float[] bc,
float[] reservedBwArray,
float mrbw)
Computes the reservable bandwidth array in the following way: |
float |
getReservableBandwidth(Domain domain,
int priority,
float[] bc,
float[] reservedBwArray,
float mrbw)
Computes the reservable bandwidth in the following way: |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static RDMModel getInstance()
public boolean checkConstraints(Domain domain, float[] bc, float mrbw)
checkConstraints
in interface DiffServModel
domain
- bc
- mrbw
-
public float[] getReservableBandwidth(Domain domain, float[] bc, float[] reservedBwArray, float mrbw)
"Unreserved TE-Class [i]" = MIN [ [ BCc - SUM ( Reserved(CTb,q) ) ] for q <= p and c <= b <= 7, [ BC(c-1) - SUM ( Reserved(CTb,q) ) ] for q <= p and (c-1)<= b <= 7, . . . [ BC0 - SUM ( Reserved(CTb,q) ) ] for q <= p and 0 <= b <= 7, ] where: TE-Class [i] <--> < CTc , preemption p> in the configured TE-Class mapping.
getReservableBandwidth
in interface DiffServModel
domain
- bc
- reservedBwArray
- mrbw
-
public float getReservableBandwidth(Domain domain, int priority, float[] bc, float[] reservedBwArray, float mrbw)
"Unreserved TE-Class [i]" = MIN [ [ BCc - SUM ( Reserved(CTb,q) ) ] for q <= p and c <= b <= 7, [ BC(c-1) - SUM ( Reserved(CTb,q) ) ] for q <= p and (c-1)<= b <= 7, . . . [ BC0 - SUM ( Reserved(CTb,q) ) ] for q <= p and 0 <= b <= 7, ] where: TE-Class [i] <--> < CTc , preemption p> in the configured TE-Class mapping.
getReservableBandwidth
in interface DiffServModel
domain
- priority
- bc
- reservedBwArray
- mrbw
-
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |