Class CompactGaModel

java.lang.Object
com.knezevic.edaf.v3.models.discrete.CompactGaModel
All Implemented Interfaces:
Model<BitString>

public final class CompactGaModel extends Object implements Model<BitString>
Compact Genetic Algorithm (cGA)-style probability-vector model.

The implementation keeps a single Bernoulli vector and moves it by fixed step toward elite empirical frequencies. This preserves the memory-light cGA flavor while keeping integration with the generic EDA model API deterministic and checkpoint-safe.

Update direction (per locus):

   p_i invalid input: '<'- clip(p_i + step * sign(mean_elite(x_i) - p_i))
 
with clipping to [1e-6, 1-1e-6].