Skip to content

Conversation

@srikanth-iyer
Copy link
Collaborator

added schema search rules, sample automata rules, tests, input symmetry for anni_gen in BooleanNode among others.

@fcphysics if you have time, i'll be happy to go through the changes with you. Please let me know if you can review these changes. I need them on the casci repo because some of the functions will be used in the noisy cellular automata GA.

@jcrozum also adding you here. I'm assuming that you're busy settling in, but in case you have time to check the code, please let me know. I'd love your input.

And sorry for the big pull request.

srikanth-iyer and others added 30 commits July 2, 2024 16:46
@srikanth-iyer
Copy link
Collaborator Author

@fcphysics Can you have a look at this pull request please? I've added Ke for anni_gen rules as well in this

"""
generated_node = None
closest_node = None
closest_ke = None
Copy link
Contributor

Choose a reason for hiding this comment

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

Are those initial settings of the parameters to "None" necessary? Because it might make debugging more difficult later.

Copy link
Contributor

@fxcosta-phd fxcosta-phd left a comment

Choose a reason for hiding this comment

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

Great job @srikanth-iyer, those are necessary improvements.
Would you mind adding a description/disclaimer on the README file about what is in the automata folder?
This is because "automata" is more general than "boolean_node" in the sense that it could take more states. However, this is not what the code considers. We are still in the "boolean realm", but we are interested in specific features focusing on annihilation and generation.

srikanth-iyer and others added 21 commits November 18, 2024 11:54
Generalizes the selection of the middle input for annihilation and generation schemata for all k, instead of the hardcoded k=7

Initializes default xticks in both schemata plots to prevent missing tick errors when no schemata are drawn.
…; add GP function to bools.py and corresponding tests
- Implemented Cython functions for fast computation of input symmetry means in `cboolean_node.pyx`, enhancing performance for boolean node operations.
- Added `input_symmetry_mean_fast` and `input_symmetry_mean_annigen_fast` functions to calculate mean number of permutable inputs efficiently.
- Introduced `_sum_group_lengths` helper function for summing group lengths in a list of Two-Symbol schemata.
- Created `__init__.py` files for `bns` and `cell_collective` datasets, providing module-level documentation for bundled datasets in CANA.
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