MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / all_colls

Method all_colls

graph.py:3002–3005  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3000 yield x, y, z, t
3001
3002 def all_colls(self) -> Generator[tuple[Point, ...], None, None]:
3003 for l in self.type2nodes[Line]:
3004 for x, y, z in utils.perm3(l.neighbors(Point)):
3005 yield x, y, z
3006
3007 def all_midps(self) -> Generator[tuple[Point, ...], None, None]:
3008 for l in self.type2nodes[Line]:

Callers 2

test_enumerate_collsMethod · 0.80
match_allFunction · 0.80

Calls 1

neighborsMethod · 0.80

Tested by 1

test_enumerate_collsMethod · 0.64