Comparison of contention-based protocols for secondary access in TV whitespaces
Keith Briggs keith.briggs@bt.com Richard MacKenzie richard.mackenzie@bt.com
BT Wireless Research
SDR’12 — WInnComm, Brussels 2012 June 27–29
Funded by FP7 QoSMOS
Comparison of contention-based protocols for secondary access in TV - - PowerPoint PPT Presentation
Comparison of contention-based protocols for secondary access in TV whitespaces Keith Briggs keith.briggs@bt.com Richard MacKenzie richard.mackenzie@bt.com BT Wireless Research SDR12 WInnComm, Brussels 2012 June 2729 Funded by FP7
Funded by FP7 QoSMOS
P r o b a b i l i t y M a t r i x Bianchi ( i n t w0 , i n t m, double p ) { // Bianchi eqn 1 i n t i , k ,w=w0 ; double a=(1.0−p )/w0 , b ; P r o b a b i l i t y M a t r i x P ; f o r ( i =0; i< = m; i ++) { b=p/w; f o r ( k=0; k< w; k++) { i f ( k< w−1) P . add element ( Tuple ( i , k+1) , Tuple ( i , k ) , 1 . 0 ) ; i f ( k< w0) P . add element ( Tuple ( i ,0 ) , Tuple (0 , k ) , a ) ; i f ( i ) P . add element ( Tuple ( i −1 ,0) , Tuple ( i , k ) , b ) ; i f ( i== m) P . add element ( Tuple ( i ,0 ) , Tuple ( i , k ) , b ) ; } w∗=2; } r e t u r n P ; }
P r o b a b i l i t y M a t r i x ECMA( i n t w0 , i n t m, double p ) { // ECMA eqn 1 i n t i , k ,w=w0 ; double b , c ; P r o b a b i l i t y M a t r i x P ; f o r ( i =0; i< = m; i ++) { b=p/w; c=(1.0−p )/w; f o r ( k=0; k< w; k++) { i f ( k< w−1) P . add element ( Tuple ( i , k+1) , Tuple ( i , k ) , 1 ) ; i f (1) P . add element ( Tuple ( i ,0 ) , Tuple ( i , k ) , c ) ; i f ( i ) P . add element ( Tuple ( i −1 ,0) , Tuple ( i , k ) , b ) ; i f ( i== m) P . add element ( Tuple ( i ,0 ) , Tuple ( i , k ) , b ) ; } w∗=2; } r e t u r n P ; }