Path

case class Path[V](vertices: Seq[V], cost: Double)
Value parameters:
cost

the total cost of the path

vertices

the ordered sequence of vertices making up the path

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply: Int => V
def head: V
def last: V
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

lazy val reverse: Path[V]