MCPcopy Index your code
hub / github.com/DEAP/deap / depth

Method depth

doc/code/tutorials/part_4/sortingnetwork.py:119–122  ·  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

117
118 @property
119 def depth(self):
120 """Return the number of parallel steps that it takes to sort any input.
121 """
122 return len(self)
123
124 @property
125 def length(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected