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

Method cache_dep

graph.py:2461–2467  ·  view source on GitHub ↗
(
      self, name: str, args: list[Point], premises: list[Dependency]
  )

Source from the content-addressed store, hash-verified

2459 return problem.hashed(name, args) in self.cache
2460
2461 def cache_dep(
2462 self, name: str, args: list[Point], premises: list[Dependency]
2463 ) -> None:
2464 hashed = problem.hashed(name, args)
2465 if hashed in self.cache:
2466 return
2467 self.cache[hashed] = premises
2468
2469 def all_same_line(
2470 self, a: Point, b: Point

Callers 15

add_eqrat_constMethod · 0.95
do_algebraMethod · 0.95
add_pieceMethod · 0.95
add_collMethod · 0.95
add_paraMethod · 0.95
add_perpMethod · 0.95
add_congMethod · 0.95
add_cyclicMethod · 0.95
make_equal_pairsMethod · 0.95
_add_eqangleMethod · 0.95
add_aconstMethod · 0.95
add_s_angleMethod · 0.95

Calls 1

hashedMethod · 0.80

Tested by

no test coverage detected