issues
search
edxu96
/
mgrid
multilayer network for power grid with multiple voltage levels
https://edxu96.github.io/mgrid
GNU General Public License v3.0
4
stars
2
forks
source link
Add edge to pending snapshot
#149
Open
edxu96
opened
3 years ago
edxu96
commented
3 years ago
The operation in #148 is too naive.
There are three possible situations:
The edge exists in the pending snapshot. Return warning. Stop inserting.
The edge doesn't exist in the pending snapshot, but exist in the
edges
table. Insert an event.
The edge doesn't exist in the
edges
table. Insert an edge and an event.
There are three possible situations:
edges
table. Insert an event.edges
table. Insert an edge and an event.