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

Tree and Node design #1

Open
dkandalov opened this issue Sep 29, 2016 · 0 comments
Open

Tree and Node design #1

dkandalov opened this issue Sep 29, 2016 · 0 comments

Comments

@dkandalov
Copy link
Owner

  1. Is it a good decision to model “no node" as End object? Or should it be null or may be a class?
  2. What is the best way to model Nodes with XY position? I decided to wrap node value into object which has coordinates, unlike for example this solution http://aperiodic.net/phil/scala/s-99/p64.scala where they define PositionedNode class.
@dkandalov dkandalov changed the title Design questions Tree and Node design Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant