DrChainsaw / NaiveGAflux.jl

Evolve Flux networks from scratch!
MIT License
41 stars 1 forks source link

Unnecessary restriction in AddEdgeMutation #60

Closed DrChainsaw closed 4 years ago

DrChainsaw commented 4 years ago

The current implementation of no_shapechange only looks for new outputs in the output direction of the selected vertex. It should be easy to also include parallel paths by looking at the setdiff between flatten(vi) and all vertices in the graph and filter out the ones which does not have the exact same delta shapes compared to the input.