Class: functionalGroupsSearcher

functionalGroupsSearcher

new functionalGroupsSearcher(fgString, AllFoundMsg, AllNotFoundMsg)

Searcher for Functional Groups.
Parameters:
Name Type Description
fgString String fgString is a string of the following form.

FG1,FG2,..FGN,

AllFoundMsg String
AllNotFoundMsg String
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
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 all of the functional groups in the quesion file are found in the answer.
Parameters:
Name Type Description
smileAnswer String The submitted SMILE string.
Source: