-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add method for topological sorting #12
Open
fsobanski
wants to merge
22
commits into
kevinrutherford:master
Choose a base branch
from
fsobanski:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Would you consider accepting this PR? It's basically just an implementation of this algorithm. |
Sorry, I don't have time to maintain that code these days (I haven't used
it myself for several years).
Feel free to use the code as the basis for your own gem, however.
Best regards,
Kevin
…On Mon, Jan 15, 2018 at 11:54 PM, fsobanski ***@***.***> wrote:
Would you consider accepting this PR? It's basically just an
implementation of this
<https://en.wikipedia.org/wiki/Topological_sorting#Depth-first_search>
algorithm.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABa-iRqwvYXhhFmvu5Kq3x_MSu-ZuNXks5tK-U5gaJpZM4RLu0Q>
.
--
*Kevin Rutherford*
+44 7973 563521
<+44%207973%20563521>
http://rutherford-software.com <http://xpsurgery.com>
|
Support of ruby 1.9 and 2.1 has ended: https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/ Support of Rubinius 2 (rbx-2) has also ended: rubinius/rubinius#3717 (comment)
Used Rubocop with default settings as provided by the atom ide.
See https://github.com/bbatsov/ruby-style-guide#naming "Avoid prefixing predicate methods with the auxiliary verbs such as is, does, or can. These words are redundant and inconsistent with the style of boolean methods in the Ruby core library, such as empty? and include?."
I don't support backwards compatibility.
I don't support backwards compatibility.
See https://github.com/bbatsov/ruby-style-guide#naming "Avoid prefixing predicate methods with the auxiliary verbs such as is, does, or can. These words are redundant and inconsistent with the style of boolean methods in the Ruby core library, such as empty? and include?."
Subgraph test should also cover ancestors and descendants more than one step away.
The commit broke the travis build for some reason. This reverts commit 5cc4d5f.
This is not a multigraph.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.