Package-level declarations

Types

Link copied to clipboard
abstract class BaseGraph<T : Any>(size: Int, isWeighted: Boolean = true)

And abstract class that's used by the Graph, IntGraph and Grid classes for common functionality

Link copied to clipboard
class Graph(isWeighted: Boolean = true) : BaseGraph<Any>

A graph data structure that supports nodes of any datatype.

Link copied to clipboard
class Grid(val width: Int, val height: Int, initWithDatalessTiles: Boolean = false, isWeighted: Boolean = false) : BaseGraph<Tile>

The Grid class is a specialized graph class.

Link copied to clipboard
class IntGraph(size: Int, isWeighted: Boolean = true) : BaseGraph<Int>

A graph data structure specialized for integer nodes ranging from 0 to size-1.