Skip to content

Conversation

@graceemetz
Copy link
Owner

No description provided.

Copy link

@jrg94 jrg94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice work! Only issues I saw were in the abstract class.

/**
* Queue of Strings to represent the values of each input.
*/
private Queue<String> inputs = new Queue1L<String>();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The abstract class shouldn't have any variables. If you need these values here, you need a getter in the kernel to access them.

* @ensures {@code <activate> = true || false}
* @return whether the neuron has fired.
*/
@Override
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also don't need to contracts because they're inherited.

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

Successfully merging this pull request may close these issues.

3 participants