{"action":"created","comment":{"url":"https://api.github.com/repos/opencog/opencog/pulls/comments/56660476","id":56660476,"diff_hunk":"@@ -0,0 +1,81 @@\n+/*\n+ *\n+ * Copyright (c) 2016, Mandeep Singh Bhatia, OpenCog Foundation\n+ * All rights reserved.\n+ * License: AGPL\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ *\n+ *     * Redistributions of source code must retain the above copyright\n+ *       notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above copyright\n+ *       notice, this list of conditions and the following disclaimer in the\n+ *       documentation and/or other materials provided with the distribution.\n+ *     * Neither the name of the University of Freiburg nor the names of its\n+ *       contributors may be used to endorse or promote products derived from\n+ *       this software without specific prior written permission.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+ * POSSIBILITY OF SUCH DAMAGE.\n+ */\n+ \n+#include \"AtomOcTree.h\"\n+namespace octomap {\n+  // tree implementation  --------------------------------------\n+  AtomOcTree::AtomOcTree(double resolution)","path":"opencog/spacetime/TimeSpaceAtomMapsAPI/AtomOcTree.cc","position":35,"original_position":35,"commit_id":"c121412fd905b8421b4fee7a3686225eb03ac1ca","original_commit_id":"c121412fd905b8421b4fee7a3686225eb03ac1ca","user":{"login":"ngeiswei","id":819225,"avatar_url":"https://avatars.githubusercontent.com/u/819225?v=3","gravatar_id":"","url":"https://api.github.com/users/ngeiswei","html_url":"https://github.com/ngeiswei","followers_url":"https://api.github.com/users/ngeiswei/followers","following_url":"https://api.github.com/users/ngeiswei/following{/other_user}","gists_url":"https://api.github.com/users/ngeiswei/gists{/gist_id}","starred_url":"https://api.github.com/users/ngeiswei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngeiswei/subscriptions","organizations_url":"https://api.github.com/users/ngeiswei/orgs","repos_url":"https://api.github.com/users/ngeiswei/repos","events_url":"https://api.github.com/users/ngeiswei/events{/privacy}","received_events_url":"https://api.github.com/users/ngeiswei/received_events","type":"User","site_admin":false},"body":"the indentation doesn't follow opencog's standard\r\n\r\nhttp://wiki.opencog.org/wikihome/index.php/Development_standards#Formatting","created_at":"2016-03-18T14:07:48Z","updated_at":"2016-03-18T14:07:48Z","html_url":"https://github.com/opencog/opencog/pull/2017#discussion_r56660476","pull_request_url":"https://api.github.com/repos/opencog/opencog/pulls/2017","_links":{"self":{"href":"https://api.github.com/repos/opencog/opencog/pulls/comments/56660476"},"html":{"href":"https://github.com/opencog/opencog/pull/2017#discussion_r56660476"},"pull_request":{"href":"https://api.github.com/repos/opencog/opencog/pulls/2017"}}},"pull_request":{"url":"https://api.github.com/repos/opencog/opencog/pulls/2017","id":58262601,"html_url":"https://github.com/opencog/opencog/pull/2017","diff_url":"https://github.com/opencog/opencog/pull/2017.diff","patch_url":"https://github.com/opencog/opencog/pull/2017.patch","issue_url":"https://api.github.com/repos/opencog/opencog/issues/2017","number":2017,"state":"open","locked":false,"title":"Time Space Atom Octomap Array for perception","user":{"login":"yantrabuddhi","id":7552895,"avatar_url":"https://avatars.githubusercontent.com/u/7552895?v=3","gravatar_id":"","url":"https://api.github.com/users/yantrabuddhi","html_url":"https://github.com/yantrabuddhi","followers_url":"https://api.github.com/users/yantrabuddhi/followers","following_url":"https://api.github.com/users/yantrabuddhi/following{/other_user}","gists_url":"https://api.github.com/users/yantrabuddhi/gists{/gist_id}","starred_url":"https://api.github.com/users/yantrabuddhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yantrabuddhi/subscriptions","organizations_url":"https://api.github.com/users/yantrabuddhi/orgs","repos_url":"https://api.github.com/users/yantrabuddhi/repos","events_url":"https://api.github.com/users/yantrabuddhi/events{/privacy}","received_events_url":"https://api.github.com/users/yantrabuddhi/received_events","type":"User","site_admin":false},"body":"Following code is experimental. The purpose is to use the TimeSpaceAtom.h API to create perceptual maps for embodiment and other things like minecraft.","created_at":"2016-02-04T09:52:59Z","updated_at":"2016-03-18T14:07:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0344bf7171a405cb51ec56ff6316bd50de7caff2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencog/opencog/pulls/2017/commits","review_comments_url":"https://api.github.com/repos/opencog/opencog/pulls/2017/comments","review_comment_url":"https://api.github.com/repos/opencog/opencog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencog/opencog/issues/2017/comments","statuses_url":"https://api.github.com/repos/opencog/opencog/statuses/c121412fd905b8421b4fee7a3686225eb03ac1ca","head":{"label":"yantrabuddhi:dev_tsa","ref":"dev_tsa","sha":"c121412fd905b8421b4fee7a3686225eb03ac1ca","user":{"login":"yantrabuddhi","id":7552895,"avatar_url":"https://avatars.githubusercontent.com/u/7552895?v=3","gravatar_id":"","url":"https://api.github.com/users/yantrabuddhi","html_url":"https://github.com/yantrabuddhi","followers_url":"https://api.github.com/users/yantrabuddhi/followers","following_url":"https://api.github.com/users/yantrabuddhi/following{/other_user}","gists_url":"https://api.github.com/users/yantrabuddhi/gists{/gist_id}","starred_url":"https://api.github.com/users/yantrabuddhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yantrabuddhi/subscriptions","organizations_url":"https://api.github.com/users/yantrabuddhi/orgs","repos_url":"https://api.github.com/users/yantrabuddhi/repos","events_url":"https://api.github.com/users/yantrabuddhi/events{/privacy}","received_events_url":"https://api.github.com/users/yantrabuddhi/received_events","type":"User","site_admin":false},"repo":{"id":38466536,"name":"opencog","full_name":"yantrabuddhi/opencog","owner":{"login":"yantrabuddhi","id":7552895,"avatar_url":"https://avatars.githubusercontent.com/u/7552895?v=3","gravatar_id":"","url":"https://api.github.com/users/yantrabuddhi","html_url":"https://github.com/yantrabuddhi","followers_url":"https://api.github.com/users/yantrabuddhi/followers","following_url":"https://api.github.com/users/yantrabuddhi/following{/other_user}","gists_url":"https://api.github.com/users/yantrabuddhi/gists{/gist_id}","starred_url":"https://api.github.com/users/yantrabuddhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yantrabuddhi/subscriptions","organizations_url":"https://api.github.com/users/yantrabuddhi/orgs","repos_url":"https://api.github.com/users/yantrabuddhi/repos","events_url":"https://api.github.com/users/yantrabuddhi/events{/privacy}","received_events_url":"https://api.github.com/users/yantrabuddhi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yantrabuddhi/opencog","description":"A framework for integrated Artificial Intelligence & Artificial General Intelligence (AGI)","fork":true,"url":"https://api.github.com/repos/yantrabuddhi/opencog","forks_url":"https://api.github.com/repos/yantrabuddhi/opencog/forks","keys_url":"https://api.github.com/repos/yantrabuddhi/opencog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yantrabuddhi/opencog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yantrabuddhi/opencog/teams","hooks_url":"https://api.github.com/repos/yantrabuddhi/opencog/hooks","issue_events_url":"https://api.github.com/repos/yantrabuddhi/opencog/issues/events{/number}","events_url":"https://api.github.com/repos/yantrabuddhi/opencog/events","assignees_url":"https://api.github.com/repos/yantrabuddhi/opencog/assignees{/user}","branches_url":"https://api.github.com/repos/yantrabuddhi/opencog/branches{/branch}","tags_url":"https://api.github.com/repos/yantrabuddhi/opencog/tags","blobs_url":"https://api.github.com/repos/yantrabuddhi/opencog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yantrabuddhi/opencog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yantrabuddhi/opencog/git/refs{/sha}","trees_url":"https://api.github.com/repos/yantrabuddhi/opencog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yantrabuddhi/opencog/statuses/{sha}","languages_url":"https://api.github.com/repos/yantrabuddhi/opencog/languages","stargazers_url":"https://api.github.com/repos/yantrabuddhi/opencog/stargazers","contributors_url":"https://api.github.com/repos/yantrabuddhi/opencog/contributors","subscribers_url":"https://api.github.com/repos/yantrabuddhi/opencog/subscribers","subscription_url":"https://api.github.com/repos/yantrabuddhi/opencog/subscription","commits_url":"https://api.github.com/repos/yantrabuddhi/opencog/commits{/sha}","git_commits_url":"https://api.github.com/repos/yantrabuddhi/opencog/git/commits{/sha}","comments_url":"https://api.github.com/repos/yantrabuddhi/opencog/comments{/number}","issue_comment_url":"https://api.github.com/repos/yantrabuddhi/opencog/issues/comments{/number}","contents_url":"https://api.github.com/repos/yantrabuddhi/opencog/contents/{+path}","compare_url":"https://api.github.com/repos/yantrabuddhi/opencog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yantrabuddhi/opencog/merges","archive_url":"https://api.github.com/repos/yantrabuddhi/opencog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yantrabuddhi/opencog/downloads","issues_url":"https://api.github.com/repos/yantrabuddhi/opencog/issues{/number}","pulls_url":"https://api.github.com/repos/yantrabuddhi/opencog/pulls{/number}","milestones_url":"https://api.github.com/repos/yantrabuddhi/opencog/milestones{/number}","notifications_url":"https://api.github.com/repos/yantrabuddhi/opencog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yantrabuddhi/opencog/labels{/name}","releases_url":"https://api.github.com/repos/yantrabuddhi/opencog/releases{/id}","deployments_url":"https://api.github.com/repos/yantrabuddhi/opencog/deployments","created_at":"2015-07-03T02:01:47Z","updated_at":"2016-01-14T07:15:58Z","pushed_at":"2016-03-17T12:04:52Z","git_url":"git://github.com/yantrabuddhi/opencog.git","ssh_url":"git@github.com:yantrabuddhi/opencog.git","clone_url":"https://github.com/yantrabuddhi/opencog.git","svn_url":"https://github.com/yantrabuddhi/opencog","homepage":"http://wiki.opencog.org/w/Development","size":141188,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencog:master","ref":"master","sha":"610aa85419e46c72b8ff718bb350da91f299bee7","user":{"login":"opencog","id":2109913,"avatar_url":"https://avatars.githubusercontent.com/u/2109913?v=3","gravatar_id":"","url":"https://api.github.com/users/opencog","html_url":"https://github.com/opencog","followers_url":"https://api.github.com/users/opencog/followers","following_url":"https://api.github.com/users/opencog/following{/other_user}","gists_url":"https://api.github.com/users/opencog/gists{/gist_id}","starred_url":"https://api.github.com/users/opencog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencog/subscriptions","organizations_url":"https://api.github.com/users/opencog/orgs","repos_url":"https://api.github.com/users/opencog/repos","events_url":"https://api.github.com/users/opencog/events{/privacy}","received_events_url":"https://api.github.com/users/opencog/received_events","type":"Organization","site_admin":false},"repo":{"id":6365343,"name":"opencog","full_name":"opencog/opencog","owner":{"login":"opencog","id":2109913,"avatar_url":"https://avatars.githubusercontent.com/u/2109913?v=3","gravatar_id":"","url":"https://api.github.com/users/opencog","html_url":"https://github.com/opencog","followers_url":"https://api.github.com/users/opencog/followers","following_url":"https://api.github.com/users/opencog/following{/other_user}","gists_url":"https://api.github.com/users/opencog/gists{/gist_id}","starred_url":"https://api.github.com/users/opencog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencog/subscriptions","organizations_url":"https://api.github.com/users/opencog/orgs","repos_url":"https://api.github.com/users/opencog/repos","events_url":"https://api.github.com/users/opencog/events{/privacy}","received_events_url":"https://api.github.com/users/opencog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencog/opencog","description":"A framework for integrated Artificial Intelligence & Artificial General Intelligence (AGI)","fork":false,"url":"https://api.github.com/repos/opencog/opencog","forks_url":"https://api.github.com/repos/opencog/opencog/forks","keys_url":"https://api.github.com/repos/opencog/opencog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencog/opencog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencog/opencog/teams","hooks_url":"https://api.github.com/repos/opencog/opencog/hooks","issue_events_url":"https://api.github.com/repos/opencog/opencog/issues/events{/number}","events_url":"https://api.github.com/repos/opencog/opencog/events","assignees_url":"https://api.github.com/repos/opencog/opencog/assignees{/user}","branches_url":"https://api.github.com/repos/opencog/opencog/branches{/branch}","tags_url":"https://api.github.com/repos/opencog/opencog/tags","blobs_url":"https://api.github.com/repos/opencog/opencog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencog/opencog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencog/opencog/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencog/opencog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencog/opencog/statuses/{sha}","languages_url":"https://api.github.com/repos/opencog/opencog/languages","stargazers_url":"https://api.github.com/repos/opencog/opencog/stargazers","contributors_url":"https://api.github.com/repos/opencog/opencog/contributors","subscribers_url":"https://api.github.com/repos/opencog/opencog/subscribers","subscription_url":"https://api.github.com/repos/opencog/opencog/subscription","commits_url":"https://api.github.com/repos/opencog/opencog/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencog/opencog/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencog/opencog/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencog/opencog/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencog/opencog/contents/{+path}","compare_url":"https://api.github.com/repos/opencog/opencog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencog/opencog/merges","archive_url":"https://api.github.com/repos/opencog/opencog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencog/opencog/downloads","issues_url":"https://api.github.com/repos/opencog/opencog/issues{/number}","pulls_url":"https://api.github.com/repos/opencog/opencog/pulls{/number}","milestones_url":"https://api.github.com/repos/opencog/opencog/milestones{/number}","notifications_url":"https://api.github.com/repos/opencog/opencog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencog/opencog/labels{/name}","releases_url":"https://api.github.com/repos/opencog/opencog/releases{/id}","deployments_url":"https://api.github.com/repos/opencog/opencog/deployments","created_at":"2012-10-24T06:10:15Z","updated_at":"2016-03-16T00:19:11Z","pushed_at":"2016-03-17T22:53:47Z","git_url":"git://github.com/opencog/opencog.git","ssh_url":"git@github.com:opencog/opencog.git","clone_url":"https://github.com/opencog/opencog.git","svn_url":"https://github.com/opencog/opencog","homepage":"http://wiki.opencog.org/w/Development","size":156955,"stargazers_count":885,"watchers_count":885,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":407,"mirror_url":null,"open_issues_count":73,"forks":407,"open_issues":73,"watchers":885,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencog/opencog/pulls/2017"},"html":{"href":"https://github.com/opencog/opencog/pull/2017"},"issue":{"href":"https://api.github.com/repos/opencog/opencog/issues/2017"},"comments":{"href":"https://api.github.com/repos/opencog/opencog/issues/2017/comments"},"review_comments":{"href":"https://api.github.com/repos/opencog/opencog/pulls/2017/comments"},"review_comment":{"href":"https://api.github.com/repos/opencog/opencog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencog/opencog/pulls/2017/commits"},"statuses":{"href":"https://api.github.com/repos/opencog/opencog/statuses/c121412fd905b8421b4fee7a3686225eb03ac1ca"}}}}