Compares the score-sorted subnetwork scores position by position; the first strict difference decides. If one score vector is a prefix of the other, the individual with more subnetworks wins.

.ga_compare(a, b)

Arguments

a, b

GA individuals.

Value

1 if a is better, -1 if b is better, 0 if they are equivalent.