Exemple #1
0
def fvs_via_dumb_bruteforce(g: MultiGraph, k: int) -> set:
    dbf = Bruteforce()
    gx = multigraph_to_graph(g)
    rx = dbf.get_fbvs(gx)
    return rx