コード例 #1
0
        public BitVector CharConstraint(char c, bool caseInsensitive = false, string?culture = null)
        {
            Debug.Assert(!caseInsensitive);
            int i = _classifier.GetMintermID(c);

            return(_mintermVectors[i]);
        }
コード例 #2
0
 private TSetType GetMinterm(int c)
 {
     Debug.Assert(_builder._minterms is not null);
     return(_builder._minterms[_partitions.GetMintermID(c)]);
 }
コード例 #3
0
 public ulong CreateFromChar(char c) => ((ulong)1) << _classifier.GetMintermID(c);
コード例 #4
0
 public ulong CharConstraint(char c, bool caseInsensitive = false, string?culture = null)
 {
     Debug.Assert(!caseInsensitive);
     return(((ulong)1) << _classifier.GetMintermID(c));
 }
コード例 #5
0
 public BitVector CreateFromChar(char c) => _mintermVectors[_classifier.GetMintermID(c)];