MutableGraph

class MutableGraph<T> : Graph<T>

Properties

Link copied to clipboard
open val circularVertexes: Map<T, List<T>>
Link copied to clipboard
Link copied to clipboard
open override val entries: Set<Map.Entry<Graph.Vertex<T>, List<Graph.Edge<T>>>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val keys: Set<Graph.Vertex<T>>
Link copied to clipboard
open override val missingVertexes: Set<T>
Link copied to clipboard
open override var renderer: Any?.() -> String
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: Collection<List<Graph.Edge<T>>>

Functions

Link copied to clipboard
fun addEdge(source: T, destination: T)
Link copied to clipboard
fun addVertex(data: T): T
Link copied to clipboard
open fun asString(): String
Link copied to clipboard
open fun contains(value: T): Boolean
open fun contains(value: T, predicate: (T) -> Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun containsKey(key: Graph.Vertex<T>): Boolean
Link copied to clipboard
open override fun containsValue(value: List<Graph.Edge<T>>): Boolean
Link copied to clipboard
Link copied to clipboard
open operator override fun get(key: Graph.Vertex<T>): List<Graph.Edge<T>>?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open fun renderer(block: Any?.() -> String)
Link copied to clipboard
open fun toGraph(): Graph<T>
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun vertexesFor(vararg values: T): List<T>
open fun vertexesFor(value: T, predicate: (T) -> Boolean = { it == value }): List<T>