<?xml version="1.0" encoding="utf-8"?>
<journal>
<title>Mathematical Researches</title>
<title_fa>پژوهش های ریاضی</title_fa>
<short_title>mmr</short_title>
<subject>Basic Sciences</subject>
<web_url>http://mmr.khu.ac.ir</web_url>
<journal_hbi_system_id>1</journal_hbi_system_id>
<journal_hbi_system_user>admin</journal_hbi_system_user>
<journal_id_issn>2588-2546</journal_id_issn>
<journal_id_issn_online>2588-2554</journal_id_issn_online>
<journal_id_pii></journal_id_pii>
<journal_id_doi>10.61186/mmr</journal_id_doi>
<journal_id_iranmedex></journal_id_iranmedex>
<journal_id_magiran></journal_id_magiran>
<journal_id_sid></journal_id_sid>
<journal_id_nlai></journal_id_nlai>
<journal_id_science></journal_id_science>
<language>fa</language>
<pubdate>
	<type>jalali</type>
	<year>1397</year>
	<month>9</month>
	<day>1</day>
</pubdate>
<pubdate>
	<type>gregorian</type>
	<year>2018</year>
	<month>12</month>
	<day>1</day>
</pubdate>
<volume>4</volume>
<number>2</number>
<publish_type>online</publish_type>
<publish_edition>1</publish_edition>
<article_type>fulltext</article_type>
<articleset>
	<article>


	<language>fa</language>
	<article_id_doi></article_id_doi>
	<title_fa>الگوریتمی سریع برای پوشش دید مستطیلی چندضلعی های متعامد ساده با حداقل تعداد r-Star ها </title_fa>
	<title>A Fast Algorithm for Covering Rectangular Orthogonal Polygons with a Minimum Number of r-Stars</title>
	<subject_fa>جبر</subject_fa>
	<subject>alg</subject>
	<content_type_fa>علمی پژوهشی بنیادی</content_type_fa>
	<content_type>S</content_type>
	<abstract_fa>&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;این مقاله الگوریتمی برای پوشش دید چندضلعی&#8204;های متعامد ساده با حداقل تعداد نگهبانان به&#8204;دست می&#8204;دهد. در واقع حداقل تعداد نگهبان را برای چندضلعی&#8204;های ساده (بدون حفره) متعامد برای همۀ حالت&#8204;ها بررسی کرده و قادر هستیم که برای هر یک از نگهبانان نیز محدودۀ مستطیل شکلی را بیابیم. به&#8204;عبارت دیگر مسئلۀ پوشش چندضلعی&#8204;های متعامد ساده با حداقل &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;r-Star&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; ها را بررسی می&#8204;کنیم. در هر چندضلعی متعامد &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;P&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; دو نقطۀ &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;p&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; و &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;q&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; ، نسبت به&#8204;هم &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;r-visible&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; هستند اگر و تنها اگر آن دو نقطه را دو گوشه مخالف مستطیلی در نظر بگیریم، تمام مستطیل درون چندضلعی &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;P&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;&amp;nbsp; قرار د&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;ا&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;شته باشد. حال یک چندضلعی &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;P&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; را یک &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;r-Star&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; گوییم اگر یک نقطۀ &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;p&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; در آن وجود داشته باشد به&#8204;طوری&#8204;که هر نقطۀ &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;q&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; عضو چندضلعی، از&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;p &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;، &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;r-visible&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; باشد. در این مقاله الگوریتمی را پیشنهاد می&#8204;کنیم که روی همۀ چندضلعی&#8204;های ساده متعامد کاربرد دارد و قادر است حداقل تعداد نگهبانان را در جای خود مستقر کند. این الگوریتم با استفاده از روشی به&#8204;نام مستطیل&#8204;بندی (تقسیم چندضلعی متعامد به تعدادی مستطیل)، تعدادی از &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;span style=&quot;font-family:times new roman,serif;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;r-Star&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; ها را افراز کرده و به پردازش آن&#8204;ها برای درج نگهبانان در محل خود برای رسیدن به هدف، که حداقل تعداد نگهبانان است می&#8204;پردازد. الگوریتم پیشنهادی ما قادر است تا در زمان &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;position:relative;top:4.0pt;&quot;&gt;&lt;span style=&quot;font-family:calibri,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:11.0pt;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;&amp;nbsp;حداقل تعداد نگهبانان را به&#8204;همراه محدوده مستطیل شکلی برای آن&#8204;ها تعیین کند&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt; در حالی&#8204;که مرتبۀ اجرایی بهترین الگوریتم&#8204;های موجود قبلی&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;position:relative;top:4.0pt;&quot;&gt;&lt;span style=&quot;font-family:calibri,sans-serif;&quot;&gt;&lt;span style=&quot;font-size:11.0pt;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;&amp;nbsp;بوده است&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;. از دیگر مزایای این الگوریتم می&#8204;&#8204;توان به نداشتن محدودیت در چندضلعی های متعامد ساده اشاره کرد.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;span style=&quot;font-family:b nazanin;&quot;&gt;&lt;span style=&quot;font-size:10.0pt;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</abstract_fa>
	<abstract>&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
This paper presents an algorithm for covering orthogonal polygons with minimal number of guards. This idea examines the minimum number of guards for orthogonal simple polygons (without holes) for all scenarios and can also find a rectangular area for each guards. We consider the problem of covering orthogonal polygons with a minimum number of r-stars. In each orthogonal polygon P, two points&amp;#39; p and q are called r-visible if these two points are in opposite rectangular corners, then the entire rectangle is placed in P. Now we consider a polygon P to be an r-Star if there is a point p in it so that every point q is r-visible from p. In this paper, we propose an algorithm that applies to all simple orthogonal polygons and is able to locate at least the number of guards. Using a method called a rectangular (orthogonal polygonal division into a number of rectangles), the algorithm separates a number of r-stars and processes them in order to insert guards in their place to reach the target, which has the minimum number of guards. Our proposed algorithm is able to determine the minimum number of guards with a rectangular shape at time O (n&lt;sup&gt;5&lt;/sup&gt;) while the execution order of the best available algorithms is O (n&lt;sup&gt;17&lt;/sup&gt; poly-logn). Another advantage of this algorithm is the independence of restrictions on simple orthogonal polygons.&lt;br&gt;
&lt;strong&gt;Material and methods&lt;/strong&gt;&lt;br&gt;
&amp;nbsp;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td height=&quot;0&quot;&gt;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;&lt;/td&gt;
			&lt;td&gt;&lt;span style=&quot;line-height: 1.6em;&quot;&gt;Our processing is based on orthogonal or right-angled polygons, so we only have four types of edges. The northern edge, or N, the southern edge or S, the eastern edge or E, the western edge or W-edge. If the interior of polygon lies below/above/left/right of an edge, respectively, then that edge is called N/S/E/W, respectively. There are also four types of dents, including North Dent (N-dent), Southern Dent (S-dent), Eastern Dent (E-dent) and Western Dent (W-dent); see Figure 1.&lt;/span&gt;&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;strong&gt;Figure 1. A simple orthogonal polygon with a variety of edges and dents&lt;/strong&gt;&lt;br&gt;
In our proposed algorithm, after rectangles, new edges and vertices are created in the orthogonal polygon P, which we call the sub-edges and sub-vertices. Sub-vertices are known as horizontal and vertical edges, and are formed from the intersection of the adjacent edges with the main or minor edges. The orthogonal polygons can be classified into class-k, such that 1&amp;le;k&amp;le;4, according to the type of dents which is defined so that its intersections are at most k different directions. Class-2 polygons can be re-categorized into classes 2a, so that 2 directions are parallel to the dents (i.e., N and S or E and W) and Class 2b so that 2 directions are perpendicular to each other. The field of view of the guards or a rectangular field of view is defined as r-visibility. In each orthogonal polygon P, two opposite-corner situated points p and q are called r-visible to each other if the entire rectangle containing them is within P. Now we consider P to be an r-Star if there is a point p in it so that every point q is r-visible from p. In the r-Star problem, we assume that each guard has a 360-degree field of view.&lt;br&gt;
&lt;strong&gt;Results and discussion&lt;/strong&gt;&lt;br&gt;
In this paper, a new idea is proposed based on the rectangular orthogonal polygon, which creates new edges. In fact, the original orthogonal polygon P with a rectangular method will be divided into a number of rectangles, so that their geometric communities are exactly the same as P. Then the edges are placed in the two groups of main and minor edges. Obviously, the shared edges between the two rectangles are minor and will not prevent the guard from seeing. Therefore, the primary polygon is decomposed into rectangles and then, according to the orthogonal polygon partition method, P is divided into two or more orthogonal polygons, if possible. We make each one of them an r-Star. Then set the deadlock rectangles and set up an incremental guard in each range for each of them. In the next step, we start from the top r-Star with a sweep-line method and check the inserted guards and, if necessary, r-stars and guard rectangles are requested by our Rectangular Guards method. We will continue to work and expand the first r-Star as far as possible, and will do so for the rest of the r-stars, so that the minimum number of guards or let&amp;#39;s say the least number of r-stars are obtained. In this article, we are actually looking for the minimum number of r-stars. The steps of our novel algorithm are as follows:&lt;br&gt;
1. Partitioning into rectangles&lt;br&gt;
2. Partitioning the output of Step 1 into orthogonal r-Stars.&lt;br&gt;
3. Determining the guards for the output of Step 2.&lt;br&gt;
4. Scrolling among the r-stars and setting the minimum number of guards&lt;br&gt;
5. Allocating guards for parent, child and minor r-Stars.&lt;br&gt;
&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We considered the problem of covering simple orthogonal polygons with no restrictions on the type and number of dents. This algorithm is capable of
&lt;ul&gt;
	&lt;li&gt;Partitioning into smaller rectangles, each of which is an r-star polygon.&lt;/li&gt;
	&lt;li&gt;Updating the range of rectangular guards into the registered guards (in order of their priority).&lt;/li&gt;
	&lt;li&gt;Reaching the minimum number of guards.&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;In this paper, the idea was presented on simple orthogonal polygons that do not have a hole. This paper also paves the way for working on other types of polygons that have cavities. In fact, holes can be seen as columns in the gallery, which can also be considered as simple orthogonal rectangles or polygons. The problem here is that these rectangles are different with the rectangles in the polygon that are presented in this article and prevent the guards from seeing.&lt;a href=&quot;./files/site1/files/42/1Abstract.pdf&quot;&gt;./files/site1/files/42/1Abstract.pdf&lt;/a&gt;</abstract>
	<keyword_fa>چندضلعی متعامد (راست گوشه), مستطیل‌بندی, r-Star , r-visible , افراز r-Star ها. رده بندی موضوعی: 52B55, 68U05. </keyword_fa>
	<keyword>Orthogonal polygon (right corner), rectangles, r-Star, r-visible, r-stars partition.</keyword>
	<start_page>115</start_page>
	<end_page>132</end_page>
	<web_url>http://mmr.khu.ac.ir/browse.php?a_code=A-10-299-1&amp;slc_lang=fa&amp;sid=1</web_url>


<author_list>
	<author>
	<first_name>Keivan</first_name>
	<middle_name></middle_name>
	<last_name>Borna</last_name>
	<suffix></suffix>
	<first_name_fa>کیوان</first_name_fa>
	<middle_name_fa></middle_name_fa>
	<last_name_fa>برنا</last_name_fa>
	<suffix_fa></suffix_fa>
	<email>keivan.borna@gmail.com</email>
	<code>10031947532846002299</code>
	<orcid>10031947532846002299</orcid>
	<coreauthor>Yes
</coreauthor>
	<affiliation>Kharazmi University</affiliation>
	<affiliation_fa>دانشگاه خوارزمی، دانشکده علوم ریاضی و کامپیوتر</affiliation_fa>
	 </author>


</author_list>


	</article>
</articleset>
</journal>
