]> gerrit.simantics Code Review - simantics/platform.git/commit
Collect model dependencies in reversed topological order 44/1144/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 26 Oct 2017 09:50:35 +0000 (12:50 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Thu, 26 Oct 2017 09:50:35 +0000 (12:50 +0300)
commit67177110e2b1a343647206e892099ee0ee98e234
tree8a8141e53f21ac5ea30eba0f8c405803858a5376
parent9506446296e640a5a78687da348f54fe7714e001
Collect model dependencies in reversed topological order

The Previous implementation did not produce reversed topological order
for the following dependencies: Model->A, Model->B, A->B, if B was by
chance visited before A.

Also made the dependency collector public.

refs #7572

Change-Id: I4056edc6b011f76911932dea1f79404c96deaaab
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/ModelDependenciesBean.java