# Context-Aware Enhanced Application-Specific Handover in 5G V2X Networks
## 3 Connection-Aware Policy Mechanism (CAP)
### Justifications for the Dynamic Adjustments of the Parameter Weights  
The varied and changing needs of contemporary V2X applications justify the dynamic adjustments of the network connection quality parameter weights in the TOPSIS process. Conventional mechanisms following static weight allocations are unable to meet the diverse requirements of various environments and services. For example, if the network is built for low latency, which is crucial for AR applications, then an application demanding high data rates, such as video streaming, will not run optimally. The suggested mechanism ensuresthat the most important criteria are given priority by dynamically modifying the weights, which significantly increases the quality of services. **Benefits**  
* Improved service quality: This technique guarantees the best possible performance for a variety of services by customizing the connection parameters to match certain applications. * Adaptability: The system's dynamic adjustment enables it to change according to the needs of applications and the network environment. * Efficiency: The most effective use of network resources is ensured by reducing the density of SCs to the highest-performing ones. * Better handover: The TOPSIS rating system and the ST value provide fast and seamless handovers, lowering the possibility of lost connections and enhancing the overall user experience. **Tradeoffs**
* Complexity: System computation is complicated by dynamic adjustment and TOPSIS computations. * Operational overhead: The network management procedure may incur additional operational overhead due to ongoing weight adjustments and monitoring. * Initial setup: Defining and adjusting the connection context policies for various environments and applications can take a lot of time and testing. The following mathematical formula handles the assignment of dynamic weights to each network connection quality metric based on the type of network (open, suburban, urban) and the type of connection context policy (Audio, Video, General, AR, DataOff, Relay). The network connection quality parameters are denoted as follows: \(P_{1}\), \(P_{2}\), \(P_{3}\), \(P_{4}\), \(P_{5}\), \(P_{6}\). \(W_{ijk}\) represents the weight assigned to parameter \(P_{i}\) for network type \(j\) and connection context \(k\). \(i\) ranges from 1 to 6 (representing the count of the network connection quality parameters); \(j\) ranges from 1 to 3 (representing the network types); and \(k\) ranges from 1 to 6 (for the six connection context policy codes). The equation for the weight assignment is Formula (1) (\(W_{ijk}=\alpha_{ij}.\beta_{ik}\))  
Here, the following definitions are given:  
* \(\alpha_{ij}\)--presents the base weight of the parameter \(P_{i}\) in network type \(j\). * \(\beta_{ik}\)--presents the adjustment factor for parameter \(P_{i}\) based on connection context \(k\). **Base Weights (\(\alpha_{ij}\))**  
The significance of each parameter in the various network types is represented by these weights. To keep things simple, we can create a base weight matrix A with specified elements \(\alpha\)ij based on the following network conditions:  
\[\text{A}= \begin{bmatrix}\alpha_{11}&\alpha_{12}&\alpha_{13}\\ \alpha_{21}&\alpha_{22}&\alpha_{23}\\ \alpha_{31}&\alpha_{32}&\alpha_{33}\\ \alpha_{41}&\alpha_{42}&\alpha_{43}\\ \alpha_{51}&\alpha_{52}&\alpha_{53}\\ \alpha_{61}&\alpha_{62}&\alpha_{63}\end{bmatrix} \]  
Example  
* In urban networks (\(j=1\)), SINR and delay might be more critical due to higher interference and congestion rates. * In suburban networks (\(j=2\)), the RSSI and data transmission rate might be more important. In open areas (_j_ = 3), BER and packet loss might be prioritized. **Adjustment Factors (\(\beta_{i4k}\))**  
These variables modify the weight of each parameter based on the connection context policy. An adjustment factor matrix B was created with each element \(\beta\)ik specified according to the needs of the application:  
\[B=