[Bug] Useless Node #27

Closed
opened 3 years ago by AlessandroBregoli · 0 comments
AlessandroBregoli commented 3 years ago (Migrated from github.com)
Owner

Basic info

  • Library Version:: pre alpha
  • Branch/commit:: dev/#2d7e52f8f1f2e4594c69285b157ebe744d04e117

Expected Behavior

The struct Node is usefull

Actual Behavior

The struct Node is useless

Steps to Reproduce

Exploring the code in node.rs it is easy to notice that the only functionality of struct Node is to contain a ParamEnum and a label.

Log tracebacks and/or errors shown

Irrelevant

(Optional) Extra info

I think the struct node can be safely replaced by ParamEnum simply by transferring the label to any struct that implements ParamsTrait.

## Basic info * **Library Version:**: pre alpha * **Branch/commit:**: dev/#2d7e52f8f1f2e4594c69285b157ebe744d04e117 ## Expected Behavior The `struct Node` is usefull ## Actual Behavior The `struct Node` is useless ## Steps to Reproduce Exploring the code in `node.rs` it is easy to notice that the only functionality of `struct Node` is to contain a `ParamEnum` and a `label`. ## Log tracebacks and/or errors shown Irrelevant ## (Optional) Extra info I think the `struct node` can be safely replaced by `ParamEnum` simply by transferring the label to any struct that implements `ParamsTrait`.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: unimib-thesis-mad/reCTBN#27
Loading…
There is no content yet.