示例#1
0
 /// <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));
 }
示例#2
0
 /// <inheritdoc/>
 public override bool ChiralityMatches(IAtom target, int tParity, int permParity)
 {
     return(!expression.ChiralityMatches(target, tParity, permParity));
 }
示例#3
0
 /// <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));
 }