/// <inheritdoc/> public override bool ChiralityMatches(IAtom target, int tParity, int permParity) { // we know the left or right was true, for each side which matched try to verify // the chirality return(left.Matches(target) && left.ChiralityMatches(target, tParity, permParity) || right.Matches(target) && right.ChiralityMatches(target, tParity, permParity)); }
/// <inheritdoc/> public override bool ChiralityMatches(IAtom target, int tParity, int permParity) { return(!expression.ChiralityMatches(target, tParity, permParity)); }
/// <inheritdoc/> public override bool ChiralityMatches(IAtom target, int tParity, int permParity) { // contract dictates that left.Matches() & right.Matches() are known to be true return(left.ChiralityMatches(target, tParity, permParity) && right.ChiralityMatches(target, tParity, permParity)); }