Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <IsSymmetric.h>
Static Public Member Functions | |
template<class T > | |
static bool | isSymmetric (const ext::set< ext::pair< T, T > > &relation) |
Computes the complement relation in given universe.
|
static |
Checks whether a relation is symmetric.
T | Type of the items in relation. |
relation | the tested relation |