{"action":"created","issue":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/1941","labels_url":"https://api.github.com/repos/gearpump/gearpump/issues/1941/labels{/name}","comments_url":"https://api.github.com/repos/gearpump/gearpump/issues/1941/comments","events_url":"https://api.github.com/repos/gearpump/gearpump/issues/1941/events","html_url":"https://github.com/gearpump/gearpump/pull/1941","id":129720710,"number":1941,"title":"fix #1935, add topological sort algorithm for graph with circles.","user":{"login":"pangolulu","id":5796671,"avatar_url":"https://avatars.githubusercontent.com/u/5796671?v=3","gravatar_id":"","url":"https://api.github.com/users/pangolulu","html_url":"https://github.com/pangolulu","followers_url":"https://api.github.com/users/pangolulu/followers","following_url":"https://api.github.com/users/pangolulu/following{/other_user}","gists_url":"https://api.github.com/users/pangolulu/gists{/gist_id}","starred_url":"https://api.github.com/users/pangolulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangolulu/subscriptions","organizations_url":"https://api.github.com/users/pangolulu/orgs","repos_url":"https://api.github.com/users/pangolulu/repos","events_url":"https://api.github.com/users/pangolulu/events{/privacy}","received_events_url":"https://api.github.com/users/pangolulu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-29T10:00:04Z","updated_at":"2016-02-01T11:23:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gearpump/gearpump/pulls/1941","html_url":"https://github.com/gearpump/gearpump/pull/1941","diff_url":"https://github.com/gearpump/gearpump/pull/1941.diff","patch_url":"https://github.com/gearpump/gearpump/pull/1941.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/comments/177925354","html_url":"https://github.com/gearpump/gearpump/pull/1941#issuecomment-177925354","issue_url":"https://api.github.com/repos/gearpump/gearpump/issues/1941","id":177925354,"user":{"login":"pangolulu","id":5796671,"avatar_url":"https://avatars.githubusercontent.com/u/5796671?v=3","gravatar_id":"","url":"https://api.github.com/users/pangolulu","html_url":"https://github.com/pangolulu","followers_url":"https://api.github.com/users/pangolulu/followers","following_url":"https://api.github.com/users/pangolulu/following{/other_user}","gists_url":"https://api.github.com/users/pangolulu/gists{/gist_id}","starred_url":"https://api.github.com/users/pangolulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangolulu/subscriptions","organizations_url":"https://api.github.com/users/pangolulu/orgs","repos_url":"https://api.github.com/users/pangolulu/repos","events_url":"https://api.github.com/users/pangolulu/events{/privacy}","received_events_url":"https://api.github.com/users/pangolulu/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T11:23:20Z","updated_at":"2016-02-01T11:23:20Z","body":"@clockfly \r\nI have changed the variables name, and make the sort stable using ``MutableList``.\r\n\r\nI changed the GraphSpec to test whether ``topologicalOrderWithCirclesIterator`` equals ``topologicalOrderIterator`` in the graph with no circle but contains more than one sort to see if the actual sort is stable.\r\n\r\nAnd test ``topologicalOrderIterator`` in the complex graph with more than one circles."}}