Research Article

[Retracted] Finder-MCTS: A Cognitive Spectrum Allocation Based on Traveling State Priority and Scenario Simulation in IoV

Algorithm 1

Constraint-oriented expansion for vehicle .
Input:
- channel availability matrix
- SU-SU interference constraint matrix
- channel allocation matrix
- the maximum allowable interference level of channel
- the available bandwidth of channel
- the maximum allowable interference power of PU on channel
Output:
- the action space/set of vehicle under the current node
Function Action
1: 
2: for each in the -th row of matrix do
3:  ifthen
4:   
5:  end if
6: end for
7: for each in 1 columns of the -th row of matrix do
8:  for each in do
9:   if and then
10:    ifthen
11:     remove from
12:    end if
13:   end if
14:  end for
15: end for
16: for each in do
17:  if the available channel for the vehicle does not satisfy the constraint (1) and constraints (5a)–(5g) then
18:   remove from
19:  end if
20: end for
21: ifthen
22:  the algorithm does not perform the allocation for vehicle and waits for the allocation of the next user according to the
23: end if