ConnectionCostsWriter

class ConnectionCostsWriter<T : ConnectionCosts>(implClazz: KClass<T>, forwardSize: Int, backwardSize: Int)

Writes connection costs

Constructors

Link copied to clipboard
constructor(implClazz: KClass<T>, forwardSize: Int, backwardSize: Int)

Functions

Link copied to clipboard
fun add(forwardId: Int, backwardId: Int, cost: Int)
Link copied to clipboard
fun write(baseDir: Path, connectionCostsCodecHeader: String, dictCodecVersion: Int)