Skip to main content

Table 1 Schematic representation of key codes in the model that can trigger selection

From: Optimized design and application research of smart interactive screen for wireless networks based on federated learning

Mapping algorithm and the in-layer target selection algorithm

 

double pp = Math. abs(Math. toDegrees(Math. atan(YYT-pointY/pointX)))

-Panzd

double aa = Math. sqrt(points* pointX + (point Y-YYT)*(pointY-YYT));

double ee = aa* Math. abs(Math. cos(pp));

doubleppp = Math. abs(Math. To Degrees(Math. ata(YYTCSpaintY/ CSpaintX)))

-Panzjd

double aaa = Math. sqrt(CSpaintX* CSpaintX + (CSpaintY-YYT)*(CSpaintY-YYT));

HHCSpaintY = aaa* Math. abs(Math. cos(pp));

double m

if((Goug3 >  = 0&& Goug3 < 90)||(Goug3 >  = 270&& Goug3 < 360)){

m = (TH1getPointListX. get(THIgetPointListX. size()-1)-HHCSpaintY)/4; if((ee -HHCSpaintY) >  = 0&&(ee -HHCSpaintY) <  = m)

OnegetPointList. add(point);

} else if((ee -HHCSpaintY) > m&&(ee -HHCSpaintY) <  = 2*m){

TwogetPointList. add(point);

else if((ee -HHCSpaintY) > 2*m&&(ee-HHCSpaint Y) <  = 3*m){Threeget PointList. add(point);

} else if((ee -HHCSpaintY) > 3*m&&(ee -HHCSpaint Y) <  = 4*m)