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

Method get_name

ar.py:533–535  ·  view source on GitHub ↗
(self, objs: list[Any])

Source from the content-addressed store, hash-verified

531 self.v2obj = {}
532
533 def get_name(self, objs: list[Any]) -> list[str]:
534 self.v2obj.update({o.name: o for o in objs})
535 return [o.name for o in objs]
536
537 def map2obj(self, names: list[str]) -> list[Any]:
538 return [self.v2obj[n] for n in names]

Callers 5

add_eqMethod · 0.80
add_const_ratioMethod · 0.80
add_eqratioMethod · 0.80
add_const_angleMethod · 0.80
add_eqangleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected