Improvements
- #889: Allow adding annotations to
Cfg elements for Grammatical Evolution.
final var cfg2 = Cfg.<String>builder()
.R("expr", rule -> rule
.N("num", "annotation 1")
.N("var", "annotation 2")
.E(exp -> exp
.T("(")
.N("expr").N("op", 4).N("expr")
.T(")")))
.R("op", rule -> rule.T("+").T("-").T("*").T("/"))
.R("var", rule -> rule.T("x").T("y"))
.R("num", rule -> rule
.T("0").T("1").T("2").T("3").T("4")
.T("5").T("6").T("7").T("8").T("9")
)
.build();
- #915: Remove usage of
java.security.AccessController.
- #921: Remove
object == this "optimization" in equals methods.
- #923: Improve parsing performance of
CsvSupport.
- #925: INCUBATION: Implement statistical hypothesis tester. The statistical tests for the engine classes has been stabilized and can be written in the following way.
final var observation = new RunnableObservation(
Sampling.repeat(200_000, samples ->
samples.add(DoubleGene.of(0, 20).doubleValue())
),
Partition.of(0, 20, 20)
);
new StableRandomExecutor(seed).execute(observation);
assertThatObservation(observation).isUniform();
Bugs
- #914: Fix
Samplers.linear(double) factory.