Joint Resource Allocation and Power Control Based on Vehicle’s Motion Characteristics in NOMA-Based V2V Systems
Algorithm 3
Vehicle clustering algorithm.
Input:
The moving features of vehicles: denotes the distance between vehicle i and vehicle j; is the speed of vehicle i; is the direction of vehicle i; represents the communication link type between vehicle i and vehicle j; N is the number of vehicles;