Package chemaxon.calculations.api
Interface Calculator<T,R>
- Type Parameters:
T- type of the input data for calculationR- type of the result of calculation
- All Superinterfaces:
TaggedCalculator
- All Known Implementing Classes:
DipoleCalculator,NMRCalculator,ProgressableCalculator
Generic calculator interface
-
Method Summary
Methods inherited from interface chemaxon.calculations.api.TaggedCalculator
tags
-
Method Details
-
check
Checks if the given data is usable for the calculator or not- Parameters:
data- the input data- Returns:
- list of errors. The molecule is valid when the list is empty.
-
calculate
Calculates with the given data- Parameters:
data- the input data- Returns:
- the calculation result
- Throws:
IllegalArgumentException- when the molecule is not usable- See Also:
-