예제 #1
0
파일: APMonom.cs 프로젝트: nhannhan159/PAT
        /**
        * Constructor.
        * @param set_bits integer representation of the bits which are set
        * @param value_bits integer representation of the value bits
        */
        public APMonom(int set_bits, int value_bits)
        {
            //added by ly
            bits_set = new SimpleBitSet();
            bits_value = new SimpleBitSet();

            bits_set.set(set_bits);
            bits_value.set(value_bits);
        }
예제 #2
0
파일: APMonom.cs 프로젝트: nhannhan159/PAT
        /**
         * Constructor.
         */
        public APMonom()
        {
            //added by ly
            bits_set = new SimpleBitSet();
            bits_value = new SimpleBitSet();

            //APMonmType = APMonmType.TRUE;
            bits_set.set(0);
            bits_value.set(0);
        }
예제 #3
0
 /** Copy constructor */
 public APElement(SimpleBitSet sbs)
     : base(sbs.bitset)
 {
 }