<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Find all &amp;quot;connected&amp;quot; neighbors to a location in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231420#M308303</link>
    <description>I do have the distances between each house pair (well the 100 closest houses to not have a massive dataset). How could I proceed with that info?&lt;BR /&gt;&lt;BR /&gt;Sadly I do not have access to SAS/OR &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
    <pubDate>Fri, 23 Oct 2015 18:07:09 GMT</pubDate>
    <dc:creator>Darkness_Falls</dc:creator>
    <dc:date>2015-10-23T18:07:09Z</dc:date>
    <item>
      <title>Find all "connected" neighbors to a location</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231407#M308301</link>
      <description>&lt;P&gt;Say I have the following 4 houses with the distances between them&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GHI 35ft ABC 20ft DEF 40ft JKL 100ft XYZ 10 ft WTH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Identifying each neighbor within 40ft is quite simple, however I want to identify each connected neighbor within 40 ft. So here GHI &amp;amp; JKL, ABC &amp;amp; JKL, etc. would all be neighbors as there is always less than or equal to 40 ft between them. XYZ would only be neighbors with WTH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially I would like the following resulting table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Location 1 - Neighbor 1 - Distance to Neighbor 1 - Neighbor 2 - Distance to Neighbor 2 - Neighbor 3 - Distance to Neighbor 3&lt;/P&gt;&lt;P&gt;ABC - DEF - 20ft - GHI - 35ft - JKL 40ft&lt;/P&gt;&lt;P&gt;DEF - ABC - 20ft - GHI - 35ft - JKL - 40ft&lt;/P&gt;&lt;P&gt;GHI - ABC -&amp;nbsp; 35ft - DEF -&amp;nbsp; 20ft - JKL - 40ft&lt;/P&gt;&lt;P&gt;JKL - DEF - 40ft - ABC - 20ft - GHI - 35 ft&lt;/P&gt;&lt;P&gt;XYZ - WTH - 10ft - - - -&lt;/P&gt;&lt;P&gt;WTH - XYZ - 10ft - - - -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 17:36:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231407#M308301</guid>
      <dc:creator>Darkness_Falls</dc:creator>
      <dc:date>2015-10-23T17:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find all "connected" neighbors to a location</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231419#M308302</link>
      <description>&lt;P&gt;You can't solve this problem with distances only, unless you have the distances between every house pairs. It is usually simpler to start with house locations. You can then locate every pair which is within 40ft and use SAS/OR OPTNET to find the connected components of houses within 40ft.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 18:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231419#M308302</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-10-23T18:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find all "connected" neighbors to a location</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231420#M308303</link>
      <description>I do have the distances between each house pair (well the 100 closest houses to not have a massive dataset). How could I proceed with that info?&lt;BR /&gt;&lt;BR /&gt;Sadly I do not have access to SAS/OR &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Fri, 23 Oct 2015 18:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231420#M308303</guid>
      <dc:creator>Darkness_Falls</dc:creator>
      <dc:date>2015-10-23T18:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find all "connected" neighbors to a location</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231425#M308304</link>
      <description>&lt;P&gt;First, select all pairs closer than 40 ft apart, then use my macro at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/Finding-all-connected-components-in-a-graph/m-p/230156" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/Finding-all-connected-components-in-a-graph/m-p/230156&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 18:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-quot-connected-quot-neighbors-to-a-location/m-p/231425#M308304</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-10-23T18:23:12Z</dc:date>
    </item>
  </channel>
</rss>

