similarity.kui: Kui's similarity

Description Usage Details

View source: R/util.R

Description

Based on the hamming distance ”similarity”, but with added randomness for extra fun. The similarity between coloring vectors x and y is calculated as before, but with an extra factor R.

Usage

1

Details

1 - R * (d / length)

Where d is the number of positions with different colors between x and y, and R is a random uniform number between 0 and 1.


caranha/EvoGCP documentation built on May 3, 2021, 3:40 p.m.