private void configureWeights(ConfigExtractor e) { weights = new HashMap<Distribution, Weightable>(); weights.put(Distribution.UNIFORM, new UniformWeight()); // weights.put(Distribution.BEG, new BeginWeight()); // weights.put(Distribution.END, new EndWeight()); // weights.put(Distribution.MID, new MidWeight()); }