Files Classes Functions Hierarchy
#include <partitionequ.h>
Public Member Functions | |
| partitionequadd (P const &_left, Q const &_right) | |
| Construct the binary operator from left and right expressions. | |
| template<typename W > | |
| partitionequmult < partitionequadd< P, Q >, W > | operator* (W const &x) |
| Intersect the partitions. | |
| template<typename W > | |
| partitionequadd < partitionequadd< P, Q >, W > | operator+ (W const &x) |
| Join the partitions. | |
| partitionequnot < partitionequadd< P, Q > > | operator! () |
| Logically negate the partition. | |
| template<typename W > | |
| partitionequmult < partitionequadd< P, Q > , partitionequnot< W > > | operator- (W const &x) |
| Subtract partition x from this partition. | |
| template<typename T > | |
| boolc | isInside (T const &x) const |
| Union/and the partition spaces. | |
Public Attributes | |
| P | left |
| Left argument of binary operator. | |
| Q | right |
| Right argument of binary operator. | |
Definition at line 19 of file partitionequ.h.
| partitionequadd< P, Q >::partitionequadd | ( | P const & | _left, | |
| Q const & | _right | |||
| ) | [inline] |
Construct the binary operator from left and right expressions.
Definition at line 30 of file partitionequ.h.
| boolc partitionequadd< P, Q >::isInside | ( | T const & | x | ) | const [inline] |
Union/and the partition spaces.
Definition at line 57 of file partitionequ.h.
References partitionequadd< P, Q >::left, and partitionequadd< P, Q >::right.
00058 { 00059 if (left.isInside(x)==true) 00060 return true; 00061 00062 return right.isInside(x); 00063 }
| partitionequnot< partitionequadd<P,Q> > partitionequadd< P, Q >::operator! | ( | ) | [inline] |
Logically negate the partition.
Definition at line 47 of file partitionequ.h.
00048 { return partitionequnot< partitionequadd<P,Q> >(*this); }
| partitionequmult< partitionequadd<P,Q>, W > partitionequadd< P, Q >::operator* | ( | W const & | x | ) | [inline] |
Intersect the partitions.
Definition at line 38 of file partitionequ.h.
00039 { return partitionequmult< partitionequadd<P,Q>, W >(*this,x); }
| partitionequadd< partitionequadd<P,Q>, W > partitionequadd< P, Q >::operator+ | ( | W const & | x | ) | [inline] |
Join the partitions.
Definition at line 43 of file partitionequ.h.
00044 { return partitionequadd< partitionequadd<P,Q>, W >(*this,x); }
| partitionequmult< partitionequadd<P,Q>, partitionequnot<W> > partitionequadd< P, Q >::operator- | ( | W const & | x | ) | [inline] |
Subtract partition x from this partition.
Definition at line 52 of file partitionequ.h.
00053 { return partitionequmult< partitionequadd<P,Q>, partitionequnot<W> >(*this,partitionequnot<W>(x)); }
| P partitionequadd< P, Q >::left |
Left argument of binary operator.
Definition at line 24 of file partitionequ.h.
Referenced by partitionequadd< P, Q >::isInside().
| Q partitionequadd< P, Q >::right |
Right argument of binary operator.
Definition at line 26 of file partitionequ.h.
Referenced by partitionequadd< P, Q >::isInside().
1.5.8