Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DEAP/deap
/ functions
Functions
649 in github.com/DEAP/deap
⨍
Functions
649
◇
Types & classes
55
↳
Endpoints
5
↓ 1 callers
Method
_integer_mutation
(self)
deap/cma.py:695
↓ 1 callers
Function
_partition
(array, begin, end)
deap/tools/emo.py:844
↓ 1 callers
Function
_randomizedPartition
(array, begin, end)
deap/tools/emo.py:838
↓ 1 callers
Function
_randomizedSelect
Allows to select the ith smallest element from array without sorting it. Runtime is expected to be O(n).
deap/tools/emo.py:824
↓ 1 callers
Method
_rank1update
(self, individual, p_succ)
deap/cma.py:738
↓ 1 callers
Method
_reset
(self)
examples/gp/ant.py:86
↓ 1 callers
Method
_select
(self, candidates)
deap/cma.py:433
↓ 1 callers
Function
_sizeTournament
(individuals, k, select)
deap/tools/selection.py:149
↓ 1 callers
Method
addConnector
Add a connector between wire1 and wire2 in the network.
examples/ga/sortingnetwork.py:33
↓ 1 callers
Method
addConnector
Add a connector between wire1 and wire2 in the network.
doc/code/tutorials/part_4/sortingnetwork.py:43
↓ 1 callers
Method
addEphemeralConstant
Add an ephemeral constant to the set. An ephemeral constant is a no argument function that returns a random value. The value of the co
deap/gp.py:404
↓ 1 callers
Method
addTerminal
Add a terminal to the set. Terminals can be named using the optional *name* argument. This should be used : to define named constant (
deap/gp.py:370
↓ 1 callers
Function
add_sidebar_button
()
doc/_static/sidebar.js:88
↓ 1 callers
Method
assess
Try to sort the **cases** using the network, return the number of misses. If **cases** is None, test all possible cases according to t
doc/code/tutorials/part_4/sortingnetwork.py:72
↓ 1 callers
Function
assignCrowdingDist
Assign a crowding distance to each individual's fitness. The crowding distance can be retrieve via the :attr:`crowding_dist` attribute of each
deap/tools/emo.py:120
↓ 1 callers
Function
associate_to_niche
Associates individuals to reference points and calculates niche number. Corresponds to Algorithm 3 of Deb & Jain (2014).
deap/tools/emo.py:620
↓ 1 callers
Method
checkConflict
Check if a connection between `wire1` and `wire2` can be added on this `level`.
examples/ga/sortingnetwork.py:52
↓ 1 callers
Function
closest_feasible
A function returning a valid individual from an invalid one.
examples/es/cma_mo.py:45
↓ 1 callers
Function
compile
Compile the expression *expr*. :param expr: Expression to compile. It can either be a PrimitiveTree, a string of Python code or
deap/gp.py:476
↓ 1 callers
Method
compile
Calls :meth:`Statistics.compile` with *data* of each :class:`Statistics` object. :param data: Sequence of objects on which the statis
deap/tools/support.py:229
↓ 1 callers
Method
compute
Returns the hypervolume that is dominated by a non-dominated front. Before the HV computation, front and reference point are translated, so
deap/tools/_hypervolume/pyhv.py:56
↓ 1 callers
Method
computeParams
r"""Computes the parameters depending on :math:`\lambda`. It needs to be called again if :math:`\lambda` changes during evolution. :p
deap/cma.py:176
↓ 1 callers
Method
computeParams
r"""Computes the parameters depending on :math:`\lambda`. It needs to be called again if :math:`\lambda` changes during evolution. :p
deap/cma.py:262
↓ 1 callers
Function
contribution
(i)
deap/tools/indicator.py:23
↓ 1 callers
Function
cxESTwoPoint
Executes a classical two points crossover on both the individuals and their strategy. The individuals shall be a :term:`sequence` and must have a
deap/tools/crossover.py:418
↓ 1 callers
Function
cxTwoPoint
Executes a two-point crossover on the input :term:`sequence` individuals. The two individuals are modified in place and both keep their origin
deap/tools/crossover.py:36
↓ 1 callers
Function
decorator
(func)
deap/gp.py:933
↓ 1 callers
Function
distance
A distance function to the feasibility region.
examples/es/cma_mo.py:41
↓ 1 callers
Function
evaluate
(individual)
doc/code/tutorials/part_3/3_next_step.py:24
↓ 1 callers
Function
find_extreme_points
Finds the individuals with extreme values for each objective function.
deap/tools/emo.py:577
↓ 1 callers
Function
find_intercepts
Find intercepts between the hyperplane and each axis with the ideal point as origin.
deap/tools/emo.py:596
↓ 1 callers
Function
genHalfAndHalf
Generate an expression with a PrimitiveSet *pset*. Half the time, the expression is generated with :func:`~deap.gp.genGrow`, the other half, t
deap/gp.py:576
↓ 1 callers
Function
gen_refs_recursive
(ref, nobj, left, total, depth)
deap/tools/emo.py:682
↓ 1 callers
Method
globalMaximum
Returns the global maximum value and position.
deap/benchmarks/movingpeaks.py:185
↓ 1 callers
Method
hvRecursive
Recursive call to hypervolume calculation. In contrast to the paper, the code assumes that the reference point is [0, ..., 0]. This a
deap/tools/_hypervolume/pyhv.py:100
↓ 1 callers
Function
hypervolume
Compute the absolute hypervolume of a *pointset* according to the reference point *ref*.
deap/tools/_hypervolume/pyhv.py:30
↓ 1 callers
Function
hypervolume_contrib
Returns the hypervolume contribution of each individual. The provided *front* should be a set of non-dominated individuals having each a :attr
examples/ga/mo_rhv.py:60
↓ 1 callers
Function
igd
Inverse generational distance.
deap/benchmarks/tools.py:321
↓ 1 callers
Function
main
(func, dim, maxfuncevals, ftarget=None)
examples/bbob.py:49
↓ 1 callers
Function
main
()
examples/coev/hillis.py:110
↓ 1 callers
Function
main
(extended=True, verbose=True)
examples/coev/coop_gen.py:50
↓ 1 callers
Function
main
()
examples/coev/symbreg.py:44
↓ 1 callers
Function
main
(extended=True, verbose=True)
examples/coev/coop_evol.py:52
↓ 1 callers
Function
main
(extended=True, verbose=True)
examples/coev/coop_niche.py:46
↓ 1 callers
Function
main
(extended=True, verbose=True)
examples/coev/coop_adapt.py:48
↓ 1 callers
Function
main
()
examples/ga/evosn.py:72
↓ 1 callers
Function
main
(seed=None)
examples/ga/nsga2.py:61
↓ 1 callers
Function
main
()
examples/ga/xkcd.py:84
↓ 1 callers
Function
main
()
examples/ga/onemax_short.py:46
↓ 1 callers
Function
main
(seed=None)
examples/ga/mo_rhv.py:94
↓ 1 callers
Function
main
(seed=None)
examples/ga/nsga3.py:60
↓ 1 callers
Function
main
()
examples/ga/onemax.py:72
↓ 1 callers
Function
main
(seed=0)
examples/ga/nqueens.py:78
↓ 1 callers
Function
main
()
examples/ga/onemax_numpy.py:71
↓ 1 callers
Function
main
()
examples/ga/onemax_multidemic.py:49
↓ 1 callers
Function
main
()
examples/ga/evoknn.py:71
↓ 1 callers
Function
main
(seed)
examples/ga/onemax_mp.py:36
↓ 1 callers
Function
main
()
examples/ga/knapsack.py:88
↓ 1 callers
Function
main
()
examples/ga/onemax_island_scoop.py:51
↓ 1 callers
Function
main
()
examples/ga/kursawefct.py:62
↓ 1 callers
Function
main
()
examples/ga/tsp.py:58
↓ 1 callers
Function
main
()
examples/es/cma_mo.py:68
↓ 1 callers
Function
main
()
examples/es/cma_minfct.py:34
↓ 1 callers
Function
main
Implements the One-Fifth rule algorithm as expressed in : Kern, S., S.D. Muller, N. Hansen, D. Buche, J. Ocenasek and P. Koumoutsakos (2004).
examples/es/onefifth.py:38
↓ 1 callers
Function
main
(verbose=True)
examples/es/cma_bipop.py:39
↓ 1 callers
Function
main
(verbose=True)
examples/es/cma_plotting.py:37
↓ 1 callers
Function
main
()
examples/es/fctmin.py:67
↓ 1 callers
Function
main
()
examples/es/cma_1+l_minfct.py:34
↓ 1 callers
Function
main
()
examples/de/sphere.py:68
↓ 1 callers
Function
main
(verbose=True)
examples/de/dynamic.py:56
↓ 1 callers
Function
main
()
examples/de/basic.py:39
↓ 1 callers
Function
main
(seed)
examples/eda/pbil.py:62
↓ 1 callers
Function
main
()
examples/eda/emna.py:65
↓ 1 callers
Function
main
(verbose=True)
examples/pso/multiswarm.py:106
↓ 1 callers
Function
main
(verbose=True)
examples/pso/speciation.py:105
↓ 1 callers
Function
main
()
examples/pso/basic.py:57
↓ 1 callers
Function
main
()
examples/pso/basic_numpy.py:56
↓ 1 callers
Function
main
()
examples/gp/symbreg_numpy.py:78
↓ 1 callers
Function
main
()
examples/gp/ant.py:183
↓ 1 callers
Function
main
()
examples/gp/adf_symbreg.py:120
↓ 1 callers
Function
main
()
examples/gp/symbreg_harm.py:72
↓ 1 callers
Function
main
()
examples/gp/spambase.py:97
↓ 1 callers
Function
main
()
examples/gp/symbreg.py:74
↓ 1 callers
Function
main
()
examples/gp/multiplexer.py:83
↓ 1 callers
Function
main
()
examples/gp/symbreg_epsilon_lexicase.py:72
↓ 1 callers
Function
main
()
examples/gp/parity.py:76
↓ 1 callers
Function
main
()
doc/code/tutorials/part_4/4_4_Using_Cpp_NSGA.py:71
↓ 1 callers
Function
main
()
doc/code/tutorials/part_4/4_5_home_made_eval_func.py:77
↓ 1 callers
Function
main
()
doc/code/tutorials/part_1/1_where_to_start.py:28
↓ 1 callers
Function
matchStrengthNoNoise
Compute the match strength for the individual *x* on the string *y* excluding noise *n*.
examples/coev/coop_base.py:51
↓ 1 callers
Function
meta_create
(name, base, dct)
deap/creator.py:137
↓ 1 callers
Function
nicheSchematas
Produce the desired schemata based on the type required, 2 for half length, 4 for quarter length and 8 for eight length.
examples/coev/coop_niche.py:37
↓ 1 callers
Function
niching
(individuals, k, niches, distances, niche_counts)
deap/tools/emo.py:640
↓ 1 callers
Method
parse_matrix
(self, matrix)
examples/gp/ant.py:130
↓ 1 callers
Method
preProcess
Sets up the list data structure needed for calculation.
deap/tools/_hypervolume/pyhv.py:178
↓ 1 callers
Function
probfunc
(s)
deap/gp.py:1119
↓ 1 callers
Function
royal_road1
Royal Road Function R1 as presented by Melanie Mitchell in : "An introduction to Genetic Algorithms".
deap/benchmarks/binary.py:120
↓ 1 callers
Method
run
(self,routine)
examples/gp/ant.py:125
↓ 1 callers
Function
selNSGA3
Implementation of NSGA-III selection as presented in [Deb2014]_. This implementation is partly based on `lmarti/nsgaiii <https://github.com/l
deap/tools/emo.py:492
↓ 1 callers
Function
selRandom
Select *k* individuals at random from the input *individuals* with replacement. The list returned contains references to the input *individual
deap/tools/selection.py:12
← previous
next →
101–200 of 649, ranked by callers