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

Function _all_4points

graph_utils.py:82–87  ·  view source on GitHub ↗
(l1, l2)

Source from the content-addressed store, hash-verified

80
81
82def _all_4points(l1, l2):
83 p1s = l1.neighbors(Point)
84 p2s = l2.neighbors(Point)
85 for a, b in perm2(p1s):
86 for c, d in perm2(p2s):
87 yield a, b, c, d
88
89
90def all_4points(l1, l2):

Callers 1

all_4pointsFunction · 0.85

Calls 2

neighborsMethod · 0.80
perm2Function · 0.70

Tested by

no test coverage detected