Closed freckletonj closed 8 years ago
Hi there,
Welcome to the project! Sadly, the concept caching module is pretty much abandoned and definitely broken. I stopped working on it a while ago, and the rest of the code has been changed enough that we should probably scrap it entirely.
That should really be made clear in the documentation—sorry about that. If you disable concept caching in the config, you should be all set. Note that BigMip
caching does work, however.
PRs are obviously welcome and greatly appreciated, though concept caching in general is a hard problem, both in implementation difficulty and in time complexity (finding equivalent concepts is at least as hard as the graph isomorphism problem). If you're looking for somewhere to contribute, you can get in touch with me directly at <my last name> at wisc dot edu
.
Glad to see someone else taking a look at the code!
Cheers, Will
Concept caching is now disabled and removed from the default config so I'm going to close this.
Hey Will, or whoever else :)
I'm trying to get caching working, and I've noticed a curious bug in the following code:
Error:
This error only occurs when the network isn't fully connected (including self-connections). If you replace the
0
with a1
in the connection matrix, all works as planned.I'm using the pyphi version from
pip install pyphi
.Any thoughts?