Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // A grammar is a set of production rules for strings in a given
- // languages. In this case, the grammar is a function from a
- // character to its successor, and is defined inductively through
- // some optimization process.
- type IGrammar =
- abstract member Continue: string -> string
- abstract member Entropy: string -> float
- abstract member Mutate: int -> unit
- abstract member Clone: unit -> IGrammar
- abstract member Compress: unit -> int list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement