Skip to content

Interfaces#3

Open
graceemetz wants to merge 4 commits into
mainfrom
interfaces
Open

Interfaces#3
graceemetz wants to merge 4 commits into
mainfrom
interfaces

Conversation

@graceemetz

Copy link
Copy Markdown
Owner

Created two interfaces

@jrg94 jrg94 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Solid work! Needs some minor changes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't know what's going on in the lib folder. You should be able to drop the JAR in there as-is. Seems like you might have unzipped it.

Comment thread src/NeuronKernel.java Outdated
/**
* Queue of Strings to represent the values of each input.
*/
Queue<String> inputs = new Queue1L<>();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There shouldn't be any variables in the interfaces.

Comment thread src/NeuronKernel.java Outdated
/**
* Queue of values to represent the weights of each input.
*/
Queue<Double> weight = new Queue1L<>();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Make sure the docs have proper contracts with preconditons and postconditions.

@jrg94

jrg94 commented Nov 25, 2025

Copy link
Copy Markdown

I think the hierarchy diagram is also missing.

@jrg94 jrg94 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nicely done!

of it in this folder. You may also embed it just below using markdown syntax
(i.e., `![ALT TEXT](path/to/file)`).

<!-- TODO: make a diagram of your component hierarchy then delete this comment -->

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't believe PDFs can be embedded in markdown, but I was able to view the file.

Comment thread src/NeuronKernel.java
* @ensures {@code <weights> = weights}
* @return the queue of weight values
*/
Queue<Double> weights();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

docs look good

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.

2 participants