Skip to content

Commit

Permalink
Replace github links in code
Browse files Browse the repository at this point in the history
  • Loading branch information
btjanaka committed Sep 8, 2023
1 parent 7e3f035 commit 8467998
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ribs/archives/_archive_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ def best_elite(self):
replaced with an elite with a lower objective value. This can happen
because in non-elitist archives, new solutions only need to exceed
the *threshold* of the cell they are being inserted into, not the
*objective* of the elite currently in the cell. See `#314
<https://github.com/icaros-usc/pyribs/pull/314>`_ for more info.
*objective* of the elite currently in the cell. See :pr:`314` for
more info.
"""
return self._best_elite

Expand Down
4 changes: 2 additions & 2 deletions ribs/archives/_archive_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class ArchiveStats:
#: replaced with an elite with a lower objective value. This can happen
#: because in non-elitist archives, new solutions only need to exceed
#: the *threshold* of the cell they are being inserted into, not the
#: *objective* of the elite currently in the cell. See `#314
#: <https://github.com/icaros-usc/pyribs/pull/314>`_ for more info.
#: *objective* of the elite currently in the cell. See :pr:`314` for
#: more info.
obj_max: np.floating

#: Mean objective value of the elites in the archive. None if there are no
Expand Down
2 changes: 1 addition & 1 deletion ribs/archives/_cvt_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class CVTArchive(ArchiveBase):
the ``learning_rate`` and ``threshold_min`` parameters.
.. note:: For more information on our choice of k-D tree implementation, see
`#38 <https://github.com/icaros-usc/pyribs/issues/38>`_.
:pr:`38`.
Args:
solution_dim (int): Dimension of the solution space.
Expand Down
3 changes: 1 addition & 2 deletions ribs/visualize/_cvt_archive_heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ def cvt_archive_heatmap(archive,
bounds. Passing `clip=True` will clip the heatmap such that these
"outer edge" polygons are within the archive bounds. An arbitrary
polygon can also be passed in to clip the heatmap to a custom shape.
See `#356 <https://github.com/icaros-usc/pyribs/pull/356>`_ for more
info.
See :pr:`356` for more info.
plot_centroids (bool): Whether to plot the cluster centroids.
plot_samples (bool): Whether to plot the samples used when generating
the clusters.
Expand Down

0 comments on commit 8467998

Please sign in to comment.