Skip to content

Commit

Permalink
adapt documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaipalm committed Jul 4, 2023
1 parent c53d112 commit 4b4c1f3
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Find1ParetoPoints(GPRMinimizer):
..note::
.. note::
Use this algorithm if you want to find a 1 Pareto point (i.e. a minimum in some component)
for each component, f.e. in order to estimate the dimension of the Pareto front.
Expand Down
2 changes: 1 addition & 1 deletion paref/moo_algorithms/multi_dimensional/find_edge_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class FindEdgePoints(GPRMinimizer):
..note::
.. note::
Use this algorithm if you want to find the edge points of the Pareto front, if they exist.
*Notice:* In two dimensions, they always exist. However, in general they are likely to not exist.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class AvoidParetoFront(SequenceParetoReflections):
"""Avoid the Pareto front of the evaluations plus some epsilon
..warning::
.. warning::
This sequence should only be used if the Pareto points found in each evaluation of the moo
are too close together (since it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class FindEdgePointsSequence(SequenceParetoReflections):
"""Find all edge points of the Pareto front
..warning::
.. warning::
This Pareto reflection assumes that there exist edge points
Expand Down
2 changes: 1 addition & 1 deletion paref/pareto_reflections/fill_gap_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FillGap2D(MinimizeWeightedNormToUtopia):
-----------
This Pareto reflection should be used if a Pareto point is desired which lies between two specified points
..note::
.. note::
This function works best if the two points are Pareto optimal.
Expand Down
4 changes: 2 additions & 2 deletions paref/pareto_reflections/find_1_pareto_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Find1ParetoPoints(MinimizeWeightedNormToUtopia):
This Pareto reflection should be used if a Pareto point is desired which lie on the boundary of the Pareto front,
i.e. are minimal in one component.
..note::
.. note::
In to dimensions, the edge points of the Pareto front are given by the boundary of the Pareto front.
I.p. in two dimensions, this Pareto reflection searches for the edge points of the Pareto front.
Expand Down Expand Up @@ -40,7 +40,7 @@ def __init__(self, dimension_domain: int,
epsilon: float = 1e-3):
"""Specify the dimension of the input domain and the component in which the minimum is searched
..warning::
.. warning::
The smaller epsilon, the better. However, picking an epsilon too small may lead to an
unstable optimization.
Expand Down
6 changes: 3 additions & 3 deletions paref/pareto_reflections/find_edge_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
class FindEdgePoints(MinimizeWeightedNormToUtopia):
"""Find the edge points of the Pareto front
..warning::
.. warning::
This Pareto reflection assumes that there exist edge points
When to use
-----------
This Pareto reflection should be used if the edge points of the Pareto front are searched.
..note::
.. note::
In to dimensions, the edge points of the Pareto front always exist.
Expand All @@ -41,7 +41,7 @@ class FindEdgePoints(MinimizeWeightedNormToUtopia):
def __init__(self, dimension_domain: int, dimension: int, epsilon: float = 1e-3):
"""Specify the dimension of the input domain and the component of which the edge point is searched
..warning::
.. warning::
The smaller epsilon, the better. However, picking an epsilon too small may lead to an
unstable optimization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MinimizeWeightedNormToUtopia(ParetoReflection):
"""Find the Pareto point closest to some utopia point
# TBA: not a norm in general rather a polynomial
..note::
.. note::
# TBA: add
This Pareto reflection is highly flexible. TBA (used for finding lots of properties, for application: if
Expand Down

0 comments on commit 4b4c1f3

Please sign in to comment.