public bool IsPresent(string modelName, IObjectPath containerPath, string moleculeName)
        {
            Start();

            var container = _flatContainerRepo.ContainerFrom(containerPath.ToString());

            return(IsPresent(modelName, container.Id, moleculeName));
        }
        public bool NegativeValuesAllowed(string modelName, IObjectPath containerPath, string moleculeName)
        {
            Start();

            var container = _flatContainerRepo.ContainerFrom(containerPath.ToString());

            return(negativeValuesAllowed(modelName, container.Id, moleculeName));
        }
Пример #3
0
 private void createPopulationOntogenyTableParameter(IParameter ontogenyFactorParameter, IObjectPath ontogenyFactorPath, IndividualMolecule molecule, PopulationSimulation populationSimulation)
 {
     addAgingDataToPopulationSimulation(populationSimulation, ontogenyFactorPath.ToString(), ontogenyFactorParameter,
                                        p => createOntogenyTableFormulaFrom(p.Parameter, molecule.Ontogeny, p.OriginData, populationSimulation.RandomGenerator));
 }