.diff?(
)
Compare between two ZDD objects
and
, return false if they are the same, and return true if the two objects are different.
> require 'zdd'
> a=ZDD::itemset("a")
> b=ZDD::itemset("b")
> c=ZDD::itemset("c")
> puts a.diff?(b)
true
> puts a.diff?(a)
false
> puts (a+b).diff?(a+c)
true
> puts (a+b).diff?(a+b)
false
same? : Equal to comparison operator