71 virtual void mark()
const = 0;
73 virtual DataSet *normalizeDistance(
int n)
const =0;
74 virtual int getMinDistance()
const = 0;
This class is an abstraction of a set of data.
Definition: DataSet.h:44
virtual bool set_less_than(const DataSet &b) const =0
Compares two sets with a total order.
virtual DataSet * set_union(const DataSet &b) const =0
returns a new instance with elements = this union b
virtual void mark() const =0
for memory management : if your DataSet references no GDD,GHom,GSDD,GShom, mark() should do nothing
virtual bool empty() const =0
returns true if this is the empty set
virtual void set_print(std::ostream &os) const =0
returns a formatted string description of the set
virtual ~DataSet()
destructor
Definition: DataSet.h:47
virtual DataSet * set_minus(const DataSet &b) const =0
returns a new instance with elements = this setminus b
virtual size_t set_hash() const =0
returns a hash function, used in the SDD hash function computation
virtual DataSet * set_intersect(const DataSet &b) const =0
returns a new instance with elements = this inter b
virtual DataSet * newcopy() const =0
returns a new instance copy of this
virtual DataSet * empty_set() const =0
returns a pointer to an instance of the empty set
virtual bool set_equal(const DataSet &b) const =0
Compares two sets for equality.
virtual long double set_size() const =0