1
0
Files
LCRConnector/legacy/resolver/astar.py

17 lines
419 B
Python
Raw Normal View History

2026-06-02 21:08:48 +08:00
from typing import Iterator
2026-06-15 17:13:15 +08:00
from .common import Resolver, Request, ResultPriority
2026-06-15 13:47:31 +08:00
from ..dataset import DatasetCollection
2026-06-15 15:58:04 +08:00
from ..common import Circuit
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