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

Add Von Neumann topology #177

Merged
merged 3 commits into from
Jul 23, 2018
Merged

Add Von Neumann topology #177

merged 3 commits into from
Jul 23, 2018

Commits on Jul 20, 2018

  1. Fix bug in topology classes

    Resolves #170
    
    Fixed a bug in the topology class where not the best values were used as result when optimizing with the LocalBest class. Made the tests for the topologies less trivial by changing the index of the best cost and best position in the fixture swarm. Added a bigger fixture swarm to test the topology classes. Additionally, I fixed a little bug in the Random topology where the elements were compared to 0 instead of np.inf.
    whzup committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    df03466 View commit details
    Browse the repository at this point in the history
  2. Add Von Neumann topology

    Reference: #129
    
    Added a Von Neumann topology by inheriting from the Ring class and computing Delannoy numbers for the neighbours. Added tests and documentation and expanded the tests for the Ring topology.
    whzup committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    a030ccf View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2018

  1. Configuration menu
    Copy the full SHA
    31408b3 View commit details
    Browse the repository at this point in the history