commit | 9793755b10d8a29fc248219fa48f9918b2e02c3a | [log] [tgz] |
---|---|---|
author | tom <tom@onlab.us> | Thu Sep 11 10:48:42 2014 -0700 |
committer | tom <tom@onlab.us> | Thu Sep 11 10:48:42 2014 -0700 |
tree | 82adea13cdc810000ece6866ef05e23730e788bc | |
parent | e52ce702261f5ea815e45a6b19ee9603433fe8cd [diff] [blame] |
Re-assembled the topology subsystem.
diff --git a/core/api/src/main/java/org/onlab/onos/net/Path.java b/core/api/src/main/java/org/onlab/onos/net/Path.java index 22a363a..acf8170 100644 --- a/core/api/src/main/java/org/onlab/onos/net/Path.java +++ b/core/api/src/main/java/org/onlab/onos/net/Path.java
@@ -17,4 +17,11 @@ */ List<Link> links(); + /** + * Returns the path cost as a unit-less value. + * + * @return unit-less path cost + */ + double cost(); + }