Skip to content

Commit

Permalink
Adjust doc to MetaEphemeral
Browse files Browse the repository at this point in the history
  • Loading branch information
fmder committed Jul 24, 2023
1 parent c3e13a9 commit 7b337b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/api/gp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Genetic Programming
.. autoclass:: deap.gp.Terminal
:members:

.. autoclass:: deap.gp.Ephemeral
.. autoclass:: deap.gp.MetaEphemeral
:members:

.. autofunction:: deap.gp.compile
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/gp_symbreg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ simply a mapping from the Python :mod:`operator` module. The number following
the function is the *arity* of the primitive, that is the number of entries
it takes.

On the last line, we declare an :class:`~deap.gp.Ephemeral` constant. This is
On the last line, we declare an :class:`~deap.gp.MetaEphemeral` constant. This is
a special terminal type, which does not have a fixed value. When the program
appends an ephemeral constant terminal to a tree, the function it contains is
executed, and its result is inserted as a constant terminal. In this case,
Expand Down

0 comments on commit 7b337b7

Please sign in to comment.