Tag: petgraph

  • DAGs from Graph

    Still ChatGPT. But bad experience this time. I asked all possible distinct DAGs given an adjacency matrix of a graph (probably not connected). I insisted that the graph is not connected. But “it” pretended to just make a loop over the nodes and build “all possible dags” (it pretends). I must note that the solution…