scalation.database.graph_pm.ShortestPath.Item
case class Item(id: Int, dd: Double) extends Ordered[Item]
The Item
inner case class has two fields, vertex id and distance from vertex s (the source) as well as a compare method based on distance.
Value parameters
-
dd
-
the vertex's distance from vertex s
-
id
-
the id of the vertex
Attributes
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Attributes
-
Inherited from:
-
Ordered
Attributes
-
Inherited from:
-
Ordered
Attributes
-
Inherited from:
-
Ordered
Attributes
-
Inherited from:
-
Ordered
Attributes
-
Inherited from:
-
Ordered
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product