test_class.file: Java/jgenetic/src/test/java/szaq/lcs/func/ToPhenotypeTest.java
test_class.identifier: ToPhenotypeTest
test_case.body: @Test
  	public void testFunction() {
  		final IWildcardChromosome anyChromosome = LcsObjects.anyChromosome(TRUE, TRUE, TRUE, TRUE);
  		final Phenotype<EnumGene<WildcardGene>, Double> result = new ToPhenotype(1).apply(anyChromosome);
  		Assertions.assertThat(result).isNotNull();
  		final Chromosome<EnumGene<WildcardGene>> chromosome = result.getGenotype().getChromosome(0);
  		Assertions.assertThat(chromosome.getGene().getAllele()).isEqualTo(TRUE);
  	}
test_case.class_method_signature: ToPhenotypeTest.testFunction()
test_case.full_signature: @Test public void testFunction()
test_case.identifier: testFunction
test_case.invocations: anyChromosome apply isNotNull assertThat getChromosome getGenotype isEqualTo assertThat getAllele getGene
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFunction()
focal_class.declarator: currentGeneration
focal_class.modifier: private final
focal_class.original_string: private final int currentGeneration;
focal_class.type: int
focal_class.var_name: currentGeneration
focal_class.declarator: fitness = null
focal_class.modifier: private final
focal_class.original_string: private final Function<Genotype<EnumGene<WildcardGene>>, Double> fitness = null;
focal_class.type: Function<Genotype<EnumGene<WildcardGene>>, Double>
focal_class.var_name: fitness
focal_class.file: Java/jgenetic/src/main/java/szaq/lcs/func/ToPhenotype.java
focal_class.identifier: ToPhenotype
focal_class.interfaces: implements Function<IWildcardChromosome, Phenotype<EnumGene<WildcardGene>, Double>>
focal_class.class_method_signature: ToPhenotype.ToPhenotype(final int currentGeneration)
focal_class.full_signature: public  ToPhenotype(final int currentGeneration)
focal_class.identifier: ToPhenotype
focal_class.modifiers: public
focal_class.parameters: (final int currentGeneration)
focal_class.signature:  ToPhenotype(final int currentGeneration)
focal_class.class_method_signature: ToPhenotype.apply(final IWildcardChromosome chromosome)
focal_class.full_signature: @Override public Phenotype<EnumGene<WildcardGene>, Double> apply(final IWildcardChromosome chromosome)
focal_class.identifier: apply
focal_class.modifiers: @Override public
focal_class.parameters: (final IWildcardChromosome chromosome)
focal_class.return: Phenotype<EnumGene<WildcardGene>, Double>
focal_class.signature: Phenotype<EnumGene<WildcardGene>, Double> apply(final IWildcardChromosome chromosome)
focal_method.body: @Override
  	public Phenotype<EnumGene<WildcardGene>, Double> apply(final IWildcardChromosome chromosome) {
  		// TODO: use function composition
  		final Genotype<EnumGene<WildcardGene>> genotype = ToGenotype.get(chromosome);
  		return Phenotype.of(genotype, currentGeneration, fitness);
  	}
focal_method.class_method_signature: ToPhenotype.apply(final IWildcardChromosome chromosome)
focal_method.full_signature: @Override public Phenotype<EnumGene<WildcardGene>, Double> apply(final IWildcardChromosome chromosome)
focal_method.identifier: apply
focal_method.invocations: get of
focal_method.modifiers: @Override public
focal_method.parameters: (final IWildcardChromosome chromosome)
focal_method.return: Phenotype<EnumGene<WildcardGene>, Double>
focal_method.signature: Phenotype<EnumGene<WildcardGene>, Double> apply(final IWildcardChromosome chromosome)