Gecode::ViewSelTieBreakDynamic< _View >::Choice Class Reference
Choice for tie breakers More...
#include <brancher-tiebreak.hpp>
Public Member Functions | |
Choice (Space &home, ViewSelVirtualBase< _View > **tb, int n0) | |
Constructor. | |
Choice (const Choice &ce) | |
Copy constructor. | |
const Choice & | operator= (const Choice &ce) |
Assignment operator. | |
void | commit (Space &home, unsigned int a, ViewSelVirtualBase< _View > **tb) const |
Perform commit. | |
size_t | size (void) const |
Report size occupied. | |
~Choice (void) | |
Destructor. | |
Public Attributes | |
int | n |
Number of choices. | |
ChoiceVirtualBase ** | c |
Choices. |
Detailed Description
template<class _View>
class Gecode::ViewSelTieBreakDynamic< _View >::Choice
Choice for tie breakers
Definition at line 200 of file brancher-tiebreak.hpp.
Constructor & Destructor Documentation
template<class View >
Gecode::ViewSelTieBreakDynamic< View >::Choice::Choice | ( | Space & | home, |
ViewSelVirtualBase< _View > ** | tb, | ||
int | n0 | ||
) | [inline] |
Constructor.
Definition at line 417 of file brancher-tiebreak.hpp.
template<class View >
Gecode::ViewSelTieBreakDynamic< View >::Choice::Choice | ( | const Choice & | ce | ) | [inline] |
Copy constructor.
Definition at line 424 of file brancher-tiebreak.hpp.
template<class View >
Gecode::ViewSelTieBreakDynamic< View >::Choice::~Choice | ( | void | ) | [inline] |
Destructor.
Definition at line 458 of file brancher-tiebreak.hpp.
Member Function Documentation
template<class View >
const ViewSelTieBreakDynamic< View >::Choice & Gecode::ViewSelTieBreakDynamic< View >::Choice::operator= | ( | const Choice & | ce | ) | [inline] |
Assignment operator.
Definition at line 431 of file brancher-tiebreak.hpp.
template<class View >
void Gecode::ViewSelTieBreakDynamic< View >::Choice::commit | ( | Space & | home, |
unsigned int | a, | ||
ViewSelVirtualBase< _View > ** | tb | ||
) | const [inline] |
Perform commit.
Definition at line 443 of file brancher-tiebreak.hpp.
template<class View >
size_t Gecode::ViewSelTieBreakDynamic< View >::Choice::size | ( | void | ) | const [inline] |
Report size occupied.
Definition at line 449 of file brancher-tiebreak.hpp.
Member Data Documentation
template<class _View>
int Gecode::ViewSelTieBreakDynamic< _View >::Choice::n |
Number of choices.
Definition at line 203 of file brancher-tiebreak.hpp.
template<class _View>
ChoiceVirtualBase** Gecode::ViewSelTieBreakDynamic< _View >::Choice::c |
Choices.
Definition at line 205 of file brancher-tiebreak.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/brancher-tiebreak.hpp (Revision: 10684)