예제 #1
0
 private void SetRefs()
 {
     EvalComponent.SetPopulation(PopulationComponent.GetPopulation());
     EvalComponent.SetTransforms(InitialLocation, DesiredLocation);
     EvalComponent.SetDistanceFromStartToEnd(Vector3.Distance(InitialLocation.position, DesiredLocation.position));
     GeneticOperationsComponent.SetPopulationDNA(PopulationComponent.GetPopulationDNA());
     PopulationComponent.SetEliteCount(GeneticOperationsComponent.EliteCount);
     PopulationComponent.SetSimCounter(simcounter);
 }