Gecode::REG Class Reference
[Regular constraints]
#include <int.hh>
Detailed Description
Regular expressions
Definition at line 626 of file int.hh.
Public Member Functions | |
REG (const REG &r) | |
Initialize from regular expression r. | |
const REG & | operator= (const REG &r) |
Initialize from regular expression r. | |
REG (void) | |
Initialize as empty sequence. | |
REG (int) | |
Initialize as single integer. | |
REG | operator() (unsigned int n, unsigned int m) |
Return expression for: this expression at least n times, at most m times. | |
REG | operator() (unsigned int n) |
Return expression for: this expression at least n times. | |
REG | operator| (const REG &r) |
Return expression for: this expression or r. | |
REG | operator+ (const REG &r) |
Return expression for: this expression followed by r. | |
REG | operator * (void) |
Repeat expression for this expression arbitrarily often (Kleene star). | |
REG | operator+ (void) |
Repeat expression for this expression arbitrarily often, but at least once. | |
std::ostream & | print (std::ostream &) const |
Print expression. | |
~REG (void) | |
Destructor. | |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &, const Gecode::REG &r) |
Classes | |
class | Exp |
Implementation of the actual expression tree. More... |
Constructor & Destructor Documentation
|
Initialize from regular expression r.
|
|
Initialize as empty sequence.
|
|
Initialize as single integer.
|
|
Destructor.
|
Member Function Documentation
|
Initialize from regular expression r.
|
|
Return expression for: this expression at least n times, at most m times.
|
|
Return expression for: this expression at least n times.
|
|
Return expression for: this expression or r.
|
|
Return expression for: this expression followed by r.
|
|
Repeat expression for this expression arbitrarily often (Kleene star).
|
|
Repeat expression for this expression arbitrarily often, but at least once.
|
|
Print expression.
|
Friends And Related Function Documentation
|
Print regular expression r |
The documentation for this class was generated from the following files:
- gecode/int.hh (Revision: 3579)
- gecode/int/regular/reg.cc (Revision: 3512)