Пример #1
0
def fvs_via_bruteforce(g: MultiGraph, k: int) -> set:
    bf = BruteforceCycle()
    gx = multigraph_to_graph(g)
    rx = bf.get_fbvs(gx)
    return rx