Exemplo n.º 1
0
 private void convertIndividual(Individual individual)
 {
     if (individual == null)
     {
         return;
     }
     individual.AllDefinedMolecules().Each(updateOntogenyFactorsInContainer);
     updatePlasmaProteinOntogenyFactorInContainer(individual.Organism);
 }
Exemplo n.º 2
0
        private void updateOntogenyFactorVisibility(Individual individual)
        {
            foreach (var plasmaOntogenyFactoryName in CoreConstants.Parameter.AllPlasmaProteinOntogenyFactors)
            {
                individual.Organism.Parameter(plasmaOntogenyFactoryName).Visible = true;
            }

            foreach (var molecule in individual.AllDefinedMolecules())
            {
                updateOntogenyFactorParameter(molecule.OntogenyFactorParameter);
                updateOntogenyFactorParameter(molecule.OntogenyFactorGIParameter);
            }
        }
Exemplo n.º 3
0
 private void verifyIndividual(Individual individual)
 {
     verifyPlasmaProteinOntogenyFactor(individual.Organism);
     individual.AllDefinedMolecules().Each(verifyOntogenyInMolecule);
 }