@Test public void getGenotypeTest() { Individual individual = new Individual(); Genotype g = new PermutationGenotype<Object>(); individual.setGenotype(g); Assert.assertTrue(g == individual.getGenotype()); Assert.assertEquals(State.GENOTYPED, individual.getState()); }
public Genotype getGenotype() { return genotype; }
Individual { public Genotype getGenotype() { return genotype; } }
Individual { public Genotype getGenotype() { return genotype; } @Inject protected  Individual(); }
Individual { public Genotype getGenotype() { return genotype; } @Inject protected  Individual(); Object getPhenotype(); Objectives getObjectives(); Genotype getGenotype(); void setGenotype(Genotype genotype); void setPhenotype(Object phenotype); void setObjectives(Objectives objectives); boolean isDecoded(); boolean isEvaluated(); void setState(State state); State getState(); }
Individual { public Genotype getGenotype() { return genotype; } @Inject protected  Individual(); Object getPhenotype(); Objectives getObjectives(); Genotype getGenotype(); void setGenotype(Genotype genotype); void setPhenotype(Object phenotype); void setObjectives(Objectives objectives); boolean isDecoded(); boolean isEvaluated(); void setState(State state); State getState();  }