Package-level declarations

Types

Link copied to clipboard
typealias Components = List<List<Any>>

List of list of nodes

Link copied to clipboard
typealias Edge = Pair<Double, Int>

Edge has a weight w to a destination node v

Link copied to clipboard
typealias Edges = MutableList<Edge>

Mutable list of edges

Link copied to clipboard
typealias IntComponents = List<List<Int>>

List of list of integer nodes

Link copied to clipboard
data class Tile(val x: Int, val y: Int, var data: Any? = null)

Represents a node in the Grid graph with x and y coordinates and optional data, which can be considered the node value