test_class.file: java/src/test/java/net/auxesia/PopulationTest.java
test_class.identifier: PopulationTest
test_case.body: @Test
  	public void testGetCrossover() {
  		Population pop = new Population(1024, 0.8f, 0.1f, 0.05f);
  		assertEquals(80, (int) (pop.getCrossover() * 100));
  		
  		pop = new Population(1024, 0.0f, 0.1f, 0.05f);
  		assertEquals(0, (int) (pop.getCrossover() * 100));
  		
  		pop = new Population(1024, 1.0f, 0.1f, 0.05f);
  		assertEquals(100, (int) (pop.getCrossover() * 100));
  	}
test_case.class_method_signature: PopulationTest.testGetCrossover()
test_case.full_signature: @Test public void testGetCrossover()
test_case.identifier: testGetCrossover
test_case.invocations: assertEquals getCrossover assertEquals getCrossover assertEquals getCrossover
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetCrossover()
focal_class.declarator: TOURNAMENT_SIZE = 3
focal_class.modifier: private static final
focal_class.original_string: private static final int TOURNAMENT_SIZE = 3;
focal_class.type: int
focal_class.var_name: TOURNAMENT_SIZE
focal_class.declarator: rand = new Random(System.currentTimeMillis())
focal_class.modifier: private static final
focal_class.original_string: private static final Random rand = new Random(System.currentTimeMillis());
focal_class.type: Random
focal_class.var_name: rand
focal_class.declarator: elitism
focal_class.modifier: private
focal_class.original_string: private float elitism;
focal_class.type: float
focal_class.var_name: elitism
focal_class.declarator: mutation
focal_class.modifier: private
focal_class.original_string: private float mutation;
focal_class.type: float
focal_class.var_name: mutation
focal_class.declarator: crossover
focal_class.modifier: private
focal_class.original_string: private float crossover;
focal_class.type: float
focal_class.var_name: crossover
focal_class.declarator: popArr
focal_class.modifier: private
focal_class.original_string: private Chromosome[] popArr;
focal_class.type: Chromosome[]
focal_class.var_name: popArr
focal_class.file: java/src/main/java/net/auxesia/Population.java
focal_class.identifier: Population
focal_class.class_method_signature: Population.Population(int size, float crossoverRatio, float elitismRatio, 
  			float mutationRatio)
focal_class.full_signature: public  Population(int size, float crossoverRatio, float elitismRatio, 
  			float mutationRatio)
focal_class.identifier: Population
focal_class.modifiers: public
focal_class.parameters: (int size, float crossoverRatio, float elitismRatio, 
  			float mutationRatio)
focal_class.signature:  Population(int size, float crossoverRatio, float elitismRatio, 
  			float mutationRatio)
focal_class.class_method_signature: Population.evolve()
focal_class.full_signature: public void evolve()
focal_class.identifier: evolve
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void evolve()
focal_class.class_method_signature: Population.getPopulation()
focal_class.full_signature: public Chromosome[] getPopulation()
focal_class.identifier: getPopulation
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Chromosome[]
focal_class.signature: Chromosome[] getPopulation()
focal_class.class_method_signature: Population.getElitism()
focal_class.full_signature: public float getElitism()
focal_class.identifier: getElitism
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getElitism()
focal_class.class_method_signature: Population.getCrossover()
focal_class.full_signature: public float getCrossover()
focal_class.identifier: getCrossover
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getCrossover()
focal_class.class_method_signature: Population.getMutation()
focal_class.full_signature: public float getMutation()
focal_class.identifier: getMutation
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getMutation()
focal_class.class_method_signature: Population.selectParents()
focal_class.full_signature: private Chromosome[] selectParents()
focal_class.identifier: selectParents
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Chromosome[]
focal_class.signature: Chromosome[] selectParents()
focal_method.body: public float getCrossover() {
  		return crossover;
  	}
focal_method.class_method_signature: Population.getCrossover()
focal_method.full_signature: public float getCrossover()
focal_method.identifier: getCrossover
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: float
focal_method.signature: float getCrossover()