Research Article

[Retracted] Application Method of Environmental Protection Building Elements Based on Artificial Intelligence Technology in the Field of Urban Planning and Design

Algorithm 1

Urban parcel road generation algorithm. Road generation algorithm of urban land.
Input Initial environment , initial state
Output Round sample
1 Initialization round length t = 0
2 Initialize sample queue , status queue , feedback queue , value queue , policy queue
3 Initialize the current state , feedback , whether to terminate
4 for do
5  if then
6   break
7  else
8   Feature network extracts current state features
9   Update LSTM features .
10   Policy network output current policy distribution
11   Softmax layer selects the current action
12   Mask layer for feasibility rule test
13   Value network outputs current status value
14   Add to , to , to
15   Interact with the environment and update s,r,done=env(a)
16  end if
17 end for
18 return