Skip to content
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

Attractor control without pre-building succession diagram #76

Open
jcrozum opened this issue Mar 17, 2022 · 1 comment
Open

Attractor control without pre-building succession diagram #76

jcrozum opened this issue Mar 17, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jcrozum
Copy link
Owner

jcrozum commented Mar 17, 2022

In issue #73, I brought up the possibility of doing attractor control without the succession diagram.

Here is a rough sketch of how the algorithm would work.

stable_motifs = pbn.trap_spaces.compute_trap_spaces(primes, "max")
for motif in stable_motifs:
  if psm.drivers.fixed_implies_implicant(target, motif):
    motif_drivers = psm.drivers.internal_drivers(motif,primes) # maybe save this step for a second loop after dropping
    reduced_primes = psm.reduction.reduce_primes(motif,primes)
    # repeat the above process using reduced_primes instead of primes, and keep track of motif_drivers
    # drop branches that end with no compatible stable motifs

We should try to implement something like this; it would pair well with pbn.trap_spaces.compute_trap_spaces(primes, "min").

@jcrozum jcrozum added the enhancement New feature or request label Mar 17, 2022
@yzongy
Copy link

yzongy commented Mar 17, 2022

Or maybe store all motif_drivers and then combine them together, if it is mathematically equivalent?

stable_motifs = pbn.trap_spaces.compute_trap_spaces(primes, "max")
for motif in stable_motifs:
  if psm.drivers.fixed_implies_implicant(target, motif):
    motif_drivers = psm.drivers.internal_drivers(motif,primes)
    #then store motif_drivers in a list 
#Mix and combine stored motif_drivers

@yzongy yzongy mentioned this issue Mar 17, 2022
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants