new numCarbonSearcher(nm)
Searcher for Number of Carbons.
Parameters:
| Name | Type | Description |
|---|---|---|
nm |
Number | number of carbons |
- 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 smileAnswerString The submitted SMILE string. - Source:
-
<protected> test(smileAnswer)
-
override
searcher#test. will return true if the number of Carbons in the answer is equal to the number of Carbons in the question.Parameters:
Name Type Description smileAnswerString The submitted SMILE string. - Source: