示例#1
0
 public static void check_npure_bool(bdd x, bool is_pure_bool)
 {
     if(!BuDDySharp.not_pure_bool(x) == is_pure_bool)
     {
         throw new Exception("Failed");
     }
 }
示例#2
0
 public bdd GreaterThan(bdd r)
 {
     return new bdd(BuDDySharp.bdd_apply_addref(this.Id, r.Id, bddop.diff), false);
 }
示例#3
0
 public bool EqualEqual(bdd r)
 {
     return this._id == r._id;
 }
示例#4
0
 public bdd Biimp(bdd r)
 {
     return new bdd(BuDDySharp.bdd_biimp_addref(this._id, r._id), false);
 }
示例#5
0
 public bdd And(bdd r)
 {
     return new bdd(BuDDySharp.bdd_and_addref(this._id, r._id), false);
 }
示例#6
0
 public bdd Xor(bdd r)
 {
     return new bdd(BuDDySharp.bdd_xor_addref(this._id, r._id), false);
 }
示例#7
0
 public bool NotEqual(bdd r)
 {
     return this._id != r._id;
 }
示例#8
0
 public bdd LessThan(bdd r)
 {
     return new bdd(BuDDySharp.bdd_apply_addref(this.Id, r.Id, bddop.less), false);
 }
示例#9
0
 public bdd InvImplies(bdd r)
 {
     return new bdd(BuDDySharp.bdd_apply_addref(this.Id, r.Id, bddop.invimp), false);
 }
示例#10
0
 public static bdd test(bdd x)
 {
     BuDDySharp.printdot (x.Id);
     return x.And (bdd.bddfalse);
 }