Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <RelationComplement.h>
Static Public Member Functions | |
template<class T > | |
static ext::set< ext::pair< T, T > > | complement (const ext::set< ext::pair< T, T > > &relation, const ext::set< T > &universe) |
Computes the complement relation in given universe.
|
static |
Computes the complement relation in given universe
T | Type of the items in relation. |
relation | the original relation |
universe | the universe of items participating in the relation |