Gecode::Reflection::BranchingSpec Class Reference
[Reflection API]
List of all members.
Detailed Description
Branching specification
A BranchingSpec contains information about the alternatives of a Space. It is similar to a BranchingDesc, but not opaque: you can query the information.
The specification for an alternative is an ArrayArg that may contain strings and references to variables. The concatenation of the strings and variables is a human-readable description of what constraints are posted for the given alternative.
Definition at line 466 of file reflection.icc.
Constructor & Destructor Documentation
Gecode::Reflection::BranchingSpec::BranchingSpec |
( |
void |
|
) |
|
Gecode::Reflection::BranchingSpec::BranchingSpec |
( |
const BranchingDesc * |
d |
) |
|
Gecode::Reflection::BranchingSpec::BranchingSpec |
( |
const BranchingSpec & |
s |
) |
|
Gecode::Reflection::BranchingSpec::~BranchingSpec |
( |
void |
|
) |
|
Member Function Documentation
bool Gecode::Reflection::BranchingSpec::createdBy |
( |
const ActorSpec & |
b |
) |
const |
Check if specification was created by b.
Definition at line 837 of file reflection.cc.
unsigned int Gecode::Reflection::BranchingSpec::alternatives |
( |
void |
|
) |
const |
Arg * Gecode::Reflection::BranchingSpec::operator[] |
( |
int |
i |
) |
const |
Return specification of alternative i.
Definition at line 818 of file reflection.cc.
Arg *& Gecode::Reflection::BranchingSpec::operator[] |
( |
int |
i |
) |
|
Return specification of alternative i.
Definition at line 825 of file reflection.cc.
The documentation for this class was generated from the following files: