public static bool IsExpressionOrOntogenyFactor(this IParameter parameter) { if (parameter.IsExpression()) { return(true); } if (OntogenyFactors.Contains(parameter.Name)) { return(true); } return(false); }
public void AddOntogenyParameterTo(IndividualMolecule molecule) { OntogenyFactors.Each(x => CreateMoleculeParameterIn(molecule, x, CoreConstants.DEFAULT_ONTOGENY_FACTOR) ); }