Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Coding Theory algorithms in Kotlin

NotificationsYou must be signed in to change notification settings

giuseppe16180/kotlin-coding-theory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Simple collection of traditional Coding Theory algorithms made in Kotlin, with a touch of functional programming.

Every script is meant to be used withkscript.

Burrows–Wheeler Transform

You can find a simple implementation of theBurrows–Wheeler transform in the filebwt.kt.

Usage example

$ kscript bwt.kt -d 'hello world''olhdrellwo ' 3$ kscript bwt.kt -i 'olhdrellwo ' 3 hello world

Fibonacci Coding

You can find a simple implementation of theFibonacci Coding in the filefibonacci.kt.

Usage example

$ kscript fibonacci.kt 14           1 ->        11 2 ->       011 3 ->      0011 4 ->      1011 5 ->     00011 6 ->     10011 7 ->     01011 8 ->    000011 9 ->    10001110 ->    01001111 ->    00101112 ->    10101113 ->   000001114 ->   1000011

About

Coding Theory algorithms in Kotlin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp