-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this commit, we move the global best computation to the Topology classes themselves, but keep the compute_pbest(), compute_position() and compute_velocity() so that people can reuse it. The position and velocity computations are standard implementations, so this is just imported by the Ring and Star topology classes in their own methods Signed-off-by: Lester James V. Miranda <ljvmiranda@gmail.com>
- Loading branch information
ljvmiranda921
committed
Jun 6, 2018
1 parent
6e1c430
commit 7010380
Showing
2 changed files
with
3 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters