-
Notifications
You must be signed in to change notification settings - Fork 3
combinatorial circuits implementation + refactoring #192
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
base: cainja/feature/logicalCARs
Are you sure you want to change the base?
Conversation
cainja
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More on the high level feedback:
- Not sure how I feel about there being 4 different classes here. Is there a way that we can combine them? I feel like this abstraction might be a little annoying to work with.
- I don't love the way that we're using super. I'm not sure it's more intuitive to specify super rather than not defining an overriding method at the same abstraction level.
- What's the benefit of the BindingEvent object? My impression is that it's implemented to track all binding events, but I think we are overcomplicating the irreversible behavior of synnotch? This is an incredibly expensive way to do this...
| getTissueAgents(allAgents, bag); | ||
| super.age++; | ||
|
|
||
| if (state != PatchEnums.State.APOPTOTIC && age > apoptosisAge) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think referencing PatchEnums makes this somewhat hard to read
| super.unbind(); | ||
| this.activated = false; | ||
| } else { | ||
| // if CD8 cell is properly activated, it can be cytotoxic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't love that comment refers to CD8
I am going to use this PR as a way to iterate on circuit implementation ideas. Any feedback would be greatly appreciated!
Description of major changes: