Package com.yahoo.config.model.graph
Class ModelGraph
java.lang.Object
com.yahoo.config.model.graph.ModelGraph
A model graph contains the dependency graph of config models.
- Since:
- 5.1
- Author:
- Ulf Lilleengen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPerforms a topological sort ot the models stored in this graph.
-
Constructor Details
-
ModelGraph
-
-
Method Details
-
topologicalSort
Performs a topological sort ot the models stored in this graph. The algorithm is based on Kahn topological sort.- Returns:
- a sorted list of
ModelNode
in dependency order.
-