Open charga opened 4 years ago
Incidents are the pipeline features connected to each others, say one pipe has some incidents which means its connected to the next elements of the pipeline. "pipe": { "_id": 5, "length": 100.0, "diameter": 50.0, "roughness" : 0.1, "incidents": [1,7]}
Pipe is connected to features with id 1 and 7. This way the graph is built during initialization.
Ok, thanks. Also notice this kind of graph are undirected?
It's not before the calculation, after the direction of edges are set according to the flow of gas.
The findPath function locate the first path (not the best) found between two nodes. If there's more path, doesn't evaluate. It's true?
Great work, good example, only one questio, I'm trying to figuere how the graph is (graphically), exactly whats the concept of indicents?
Thanks