CSMSL.Chemistry.ChemicalFormulaGenerator.AddConstraint C# (CSharp) Method

AddConstraint() public method

public AddConstraint ( Isotope isotope, int min, int max ) : void
isotope Isotope
min int
max int
return void
        public void AddConstraint(Isotope isotope, int min, int max)
        {
            MinimumFormula.Add(isotope, min);
            MaximumFormula.Add(isotope, max);
        }

Same methods

ChemicalFormulaGenerator::AddConstraint ( ChemicalFormula minimumChemicalFormula, ChemicalFormula maximumChemicalFormula ) : void
ChemicalFormulaGenerator::AddConstraint ( Isotope isotope, Range range ) : void