Method | Description | |
---|---|---|
AddConstraint ( ChemicalFormula minimumChemicalFormula, ChemicalFormula maximumChemicalFormula ) : void | ||
AddConstraint ( |
||
AddConstraint ( |
||
AllFormulas ( ) : IEnumerable |
Generate all formulas regardless of mass between the min and max formula
|
|
ChemicalFormulaGenerator ( ) : System |
Create a empty generator, which will produce no formulas unless a constraint is added
|
|
ChemicalFormulaGenerator ( ChemicalFormula maximumChemicalFormula ) : System |
Creates a generator with a maximum chemical formula allowed
|
|
ChemicalFormulaGenerator ( ChemicalFormula minimumChemicalFormula, ChemicalFormula maximumChemicalFormula ) : System |
Creates a generator with a maximum chemical formula allowed
|
|
ClearConstraints ( ) : void | ||
FromMass ( IRange |
||
FromMass ( double lowMass, double highMass, int maxNumberOfResults = int.MaxValue, bool sort = true ) : IEnumerable |
||
RemoveConstraint ( |
Method | Description | |
---|---|---|
GenerateFormulaHelper ( double lowMass, double highMass, double masses, int max, int index, int currentFormula, List |
public AddConstraint ( ChemicalFormula minimumChemicalFormula, ChemicalFormula maximumChemicalFormula ) : void | ||
minimumChemicalFormula | ChemicalFormula | |
maximumChemicalFormula | ChemicalFormula | |
return | void |
public AddConstraint ( |
||
isotope | ||
range | Range |
|
return | void |
public AddConstraint ( |
||
isotope | ||
min | int | |
max | int | |
return | void |
public ChemicalFormulaGenerator ( ChemicalFormula maximumChemicalFormula ) : System | ||
maximumChemicalFormula | ChemicalFormula | The maximum chemical formula to generate |
return | System |
public ChemicalFormulaGenerator ( ChemicalFormula minimumChemicalFormula, ChemicalFormula maximumChemicalFormula ) : System | ||
minimumChemicalFormula | ChemicalFormula | |
maximumChemicalFormula | ChemicalFormula | The maximum chemical formula to generate |
return | System |
public FromMass ( IRange |
||
massRange | IRange |
|
maxNumberOfResults | int | |
sort | bool | |
return | IEnumerable |
public FromMass ( double lowMass, double highMass, int maxNumberOfResults = int.MaxValue, bool sort = true ) : IEnumerable |
||
lowMass | double | |
highMass | double | |
maxNumberOfResults | int | |
sort | bool | |
return | IEnumerable |
public RemoveConstraint ( |
||
isotope | ||
return | void |