-
Notifications
You must be signed in to change notification settings - Fork 0
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
started working on distance based probabilities #87
Conversation
Codecov Report
Additional details and impacted files |
custom residue hash
@@ -102,7 +104,7 @@ def _update(self, candidates: list[tuple], nr_of_steps: int) -> None: | |||
pass | |||
|
|||
def _adapt_probabilities( | |||
self, to_adapt=list[tuple[str, int, frozenset[str]]] | |||
self, to_adapt=list[tuple[str, int, frozenset[str]]], K=int |
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.
Do not add K to the function signature here. It is already accessible inside the class (as defined in line 65) via self.K. Just use self.K in line 146 for the factor variable
…y was not working correctly, the same transfer was blocked but not the backwards reaction)
…donated H instead of exactly 1A if distance < 1.1A
Description
Include distance-based transfer probabilities based on RDF. Expand sim_pt.py with r_min (cuton) for each allowed update pair and add a function (None/linear/cosine) to StateUpdate to simulate.
Todos
Notable points that this PR has either accomplished or will accomplish.