get

abstract operator fun get(edge: Pair<Node<T>, Node<T>>): W?

Returns the weight of the edge going from edge.first to edge.second, or null if there is none.