UndirectedEdge

data class UndirectedEdge<T>(val source: Node<T>, val target: Node<T>)

Represents an undirected edge between the source and the target nodes. The order of the nodes does not matter.

Constructors

Link copied to clipboard
constructor(source: Node<T>, target: Node<T>)

Properties

Link copied to clipboard
val source: Node<T>
Link copied to clipboard
val target: Node<T>

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int