github.com/irenicaa/go-weasel

Weasel program


License
MIT
Install
go get github.com/irenicaa/go-weasel

Documentation

go-weasel

GoDoc Go Report Card Build Status codecov

Weasel program.

Installation

$ go get github.com/irenicaa/go-weasel/...

Usage

$ go-weasel -h | -help | --help
$ go-weasel [options]

Options:

  • -h, -help, --help — show the help message and exit;
  • -sample STRING — target string (default: METHINKS IT IS LIKE A WEASEL);
  • -rate FLOAT — mutation rate (default: 0.05);
  • -population INTEGER — population size (default: 100).

Output Example

0 WIAKYMUAFZISJOGLNHBBPJFUNYLL
10 WETHYVKSFITSO GLNLT PLLANSEL
20 WETHIVKS IT OSGLMKT ALDAVSEL
30 WETHINKS IT OS LMKE APWAVSEL
40 WETHINKS IT IS LIKE APWWVSEL
50 WETHINKS IT IS LIKE A WWVSEL
60 WETHINKS IT IS LIKE A WWVSEL
70 WETHINKS IT IS LIKE A WEASEL
80 YETHINKS IT IS LIKE A WEASEL
90 PETHINKS IT IS LIKE A WEASEL
100 SETHINKS IT IS LIKE A WEASEL
110 SETHINKS IT IS LIKE A WEASEL
114 METHINKS IT IS LIKE A WEASEL

License

The MIT License (MIT)

Copyright © 2021 irenica