Files
LCRConnector/legacy/src/lcr_connector/resolver/astar.py
T

18 lines
432 B
Python
Raw Normal View History

2026-06-02 21:08:48 +08:00
from typing import Iterator
from .common import Resolver
2026-06-15 13:47:31 +08:00
from ..dataset import DatasetCollection
2026-06-15 15:58:04 +08:00
from ..common import Circuit
from ..query import Request, Response
2026-06-02 21:08:48 +08:00
class AStarResolver(Resolver):
"""
A resolver that uses A* algorithm to find the best matching circuit.
"""
2026-06-15 13:47:31 +08:00
def __init__(self, dataset: DatasetCollection):
2026-06-02 21:08:48 +08:00
pass
2026-06-15 17:13:15 +08:00
def resolve(self, request: Request) -> Iterator[Circuit]:
2026-06-02 21:08:48 +08:00
pass