Is there a Directed Acyclic Graph (DAG) data type in Java, and should I use it?

后端 未结 4 1907
甜味超标
甜味超标 2020-12-16 23:10

I am modeling a power subsystem in Java. A simple SQLite database contains a set of Line Replaceable Units (LRUs) and the connections between them. I am writing a Power Mode

4条回答
  •  攒了一身酷
    2020-12-16 23:40

    FWIW if someone wants a standard-libraries only solution, A map of sets or a map of other collections might do the job too, although not as well.

提交回复
热议问题