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 general graph class that represents nodes of any datatype.

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

A general graph class that represents a 2D grid structure of nodes.

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

A specialized graph class that represent integer nodes ranging from 0 to size-1.