new molecularFormulaSearcher(mf)
Searcher for Molecular Formula
Parameters:
Name | Type | Description |
---|---|---|
mf |
String | the molecular formula from the question file. |
- Source:
- Tutorials:
Extends
Methods
-
getfoundMsg() → {String}
-
- Inherited From:
- Source:
Returns:
- Type
- String
-
getNotFoundMsg() → {String}
-
- Inherited From:
- Source:
Returns:
- Type
- String
-
getRegExp() → {RegExp}
-
- Inherited From:
- Source:
Returns:
- Type
- RegExp
-
getRegExpString() → {String}
-
- Inherited From:
- Source:
Returns:
- Type
- String
-
<protected> search(smileAnswer)
-
override
searcher#search
. will return the approriate message from the question file.Parameters:
Name Type Description smileAnswer
String The submitted SMILE string. - Source:
-
<protected> test(smileAnswer)
-
override
searcher#test
. will return true if the molecular formula of the answer is equal to the molecular formula of the question.Parameters:
Name Type Description smileAnswer
String The submitted SMILE string. - Source: