{"title":"Random Convex Polygon Construction Algorithm","authors":"E. Saltanaeva, A. Maister","doi":"10.1109/RusAutoCon52004.2021.9537569","DOIUrl":null,"url":null,"abstract":"In this paper, we propose an algorithm for constructing arbitrary convex polygons with a random arrangement of vertices. Earlier, we have already described an algorithm for constructing arbitrary polygons with a random arrangement of vertices. The construction method is based on the sequential addition of new vertices and is a modification of the algorithm described Earlier. For a randomly selected edge of the polygon, a random point Pnew is taken – a candidate for a new additional vertex. If after adding Pnew the polygon remains convex, then instead of a randomly selected existing edge Ek = [Pk , Pk+1] between the vertices Pk and Pk+1 two new edges are added $E_{new}^1 = \\left[ {{P_k},{P_{{\\text{new }}}}} \\right]\\quad {\\text{and}}\\quad E_{new}^2 = \\left[ {{P_{{\\text{new }}}},{P_{k + 1}}} \\right]$. The procedure is repeated until the specified number of vertices is obtained. If it is not possible to find a new additional vertex for all edges of the polygon the algorithm stops. When choosing an admissible point Pnew, the convex zone CZk is constructed for the edge Ek - this is a polygon all points of which can become a new additional vertex without breaking the convexity of the polygon. A random point from CZk is selected as Pnew.","PeriodicalId":106150,"journal":{"name":"2021 International Russian Automation Conference (RusAutoCon)","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Russian Automation Conference (RusAutoCon)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RusAutoCon52004.2021.9537569","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper, we propose an algorithm for constructing arbitrary convex polygons with a random arrangement of vertices. Earlier, we have already described an algorithm for constructing arbitrary polygons with a random arrangement of vertices. The construction method is based on the sequential addition of new vertices and is a modification of the algorithm described Earlier. For a randomly selected edge of the polygon, a random point Pnew is taken – a candidate for a new additional vertex. If after adding Pnew the polygon remains convex, then instead of a randomly selected existing edge Ek = [Pk , Pk+1] between the vertices Pk and Pk+1 two new edges are added $E_{new}^1 = \left[ {{P_k},{P_{{\text{new }}}}} \right]\quad {\text{and}}\quad E_{new}^2 = \left[ {{P_{{\text{new }}}},{P_{k + 1}}} \right]$. The procedure is repeated until the specified number of vertices is obtained. If it is not possible to find a new additional vertex for all edges of the polygon the algorithm stops. When choosing an admissible point Pnew, the convex zone CZk is constructed for the edge Ek - this is a polygon all points of which can become a new additional vertex without breaking the convexity of the polygon. A random point from CZk is selected as Pnew.