Returns whether or not this Alphabet contains the symbol.

Namespace:  BioSharp.Core.Bio.Symbol
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
bool Contains(
	ISymbol s
)

Parameters

s
Type: BioSharp.Core.Bio.Symbol..::.ISymbol
the Symbol to check

Return Value

true if the IAlphabet contains the symbol and false otherwise

Remarks

An alphabet contains an ambiguity symbol iff the ambiguity symbol's GetMatches() returns an alphabet that is a proper sub-set of this alphabet. That means that every one of the symbols that could match the ambiguity symbol is also a member of this alphabet.

See Also