-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Go implementation by a more naive one
The previous implementation was relatively hard to read and maintain. This implementation aims to be better in this regard: - Rename Node's X,Y to Value and Weight - Make methods of functions that operate on *Node - Concentrate complexity in the *Node methods The implementation is faster as well.
- Loading branch information
Showing
2 changed files
with
77 additions
and
66 deletions.
There are no files selected for viewing
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
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