MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / __init__

Method __init__

animations/src/algo_queue.py:6–11  ·  view source on GitHub ↗
(self, datas=[], **kwargs)

Source from the content-addressed store, hash-verified

4
5class AlgoQueue(AlgoVGroup):
6 def __init__(self, datas=[], **kwargs):
7 self.datas = datas
8 super().__init__(**kwargs)
9 for k in datas:
10 self.add(AlgoNode(str(k)))
11 self.arrange()
12
13 def size(self):
14 return len(self.datas)

Callers

nothing calls this directly

Calls 2

AlgoNodeClass · 0.85
addMethod · 0.45

Tested by

no test coverage detected