Skip to content
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

When adding duplicate nodes to a graph, are we allowing repeated nodes? #3

Open
sotoseattle opened this issue Nov 2, 2014 · 0 comments
Assignees
Labels

Comments

@sotoseattle
Copy link
Owner

If that is the case, analyze where it can happen, and if it should be allowed (or not if the responsability corresponds to the Object).

def add_node(*variables)
    n = Node.new(*variables)
    nodes << n ### BEWARE REPETITION OF NODES
    n
  end
@sotoseattle sotoseattle self-assigned this Nov 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant