MCPcopy Create free account
hub / github.com/DEAP/deap / depth

Method depth

examples/ga/sortingnetwork.py:113–116  ·  view source on GitHub ↗

Return the number of parallel steps that it takes to sort any input.

(self)

Source from the content-addressed store, hash-verified

111
112 @property
113 def depth(self):
114 """Return the number of parallel steps that it takes to sort any input.
115 """
116 return len(self)
117
118 @property
119 def length(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected