Codechange: [Linkgraph] Split annotation for demand between nodes from the edge annotations.

This commit is contained in:
Michael Lutz
2023-01-02 01:06:31 +01:00
parent 564de01d66
commit 8f851ead70
4 changed files with 55 additions and 55 deletions

View File

@@ -182,7 +182,7 @@ void LinkGraphJob::Init()
uint size = this->Size();
this->nodes.reserve(size);
for (uint i = 0; i < size; ++i) {
this->nodes.emplace_back(this->link_graph.nodes[i]);
this->nodes.emplace_back(this->link_graph.nodes[i], this->link_graph.Size());
}
}