hosford42 / xcs

Accuracy-based Learning Classifier Systems (XCS)
http://hosford42.github.io/xcs/
BSD 3-Clause "New" or "Revised" License
47 stars 16 forks source link

Bitwise input encodings #5

Open hosford42 opened 9 years ago

hosford42 commented 9 years ago

Create wrapper class(es) for bit-based LCS algorithms which support the use of more general input types along with arrays of binary sensors which generate bit strings and pass them on to the wrapped class.

For example, an LCS algorithm which accepts a 3-bit input can be wrapped to accept a floating-point value by providing 3 sensors, where each returns a bit indicating whether the value appears in a particular interval. The input is thus encoded as a 3-bit string, which can be processed directly by the wrapped algorithm.