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

Method __init__

alphageometry.py:462–464  ·  view source on GitHub ↗
(self, max_size: int = 512)

Source from the content-addressed store, hash-verified

460 """Keep only the top k objects according to their values."""
461
462 def __init__(self, max_size: int = 512):
463 self.queue = []
464 self.max_size = max_size
465
466 def add(self, node: object, val: float) -> None:
467 """Add a new node to this queue."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected