NodeWrapper

abstract class NodeWrapper<T>(val value: T) : GraphNode<T>

Use NodeWrapper if T cannot implement GraphNode itself for some reason

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
open override val biNodes: List<GraphNode<T>>

Nodes which are connected with the undirected edges to this one: {this} -- {biNode}

Link copied to clipboard
open override val inNodes: List<GraphNode<T>>

Nodes which are connected with the ingoing edges to this one: {this} <- {inNode}

Link copied to clipboard
open override val label: Label

Node label with all required information

Link copied to clipboard
open override val outNodes: List<GraphNode<T>>

Nodes which are connected with the outgoing edges to this one: {this} -> {outNode}

Link copied to clipboard
val value: T

Functions

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