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 Space &home, Archive &e, 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. | |
void | archive (Archive &e) const |
Archive into e. | |
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 212 of file brancher-tiebreak.hpp.
Constructor & Destructor Documentation
Gecode::ViewSelTieBreakDynamic< View >::Choice::Choice | ( | Space & | home, | |
ViewSelVirtualBase< _View > ** | tb, | |||
int | n0 | |||
) | [inline] |
Constructor.
Definition at line 457 of file brancher-tiebreak.hpp.
Gecode::ViewSelTieBreakDynamic< View >::Choice::Choice | ( | const Space & | home, | |
Archive & | e, | |||
ViewSelVirtualBase< _View > ** | tb, | |||
int | n0 | |||
) | [inline] |
Constructor.
Definition at line 465 of file brancher-tiebreak.hpp.
Gecode::ViewSelTieBreakDynamic< View >::Choice::Choice | ( | const Choice & | ce | ) | [inline] |
Copy constructor.
Definition at line 473 of file brancher-tiebreak.hpp.
Gecode::ViewSelTieBreakDynamic< View >::Choice::~Choice | ( | void | ) | [inline] |
Destructor.
Definition at line 507 of file brancher-tiebreak.hpp.
Member Function Documentation
const ViewSelTieBreakDynamic< View >::Choice & Gecode::ViewSelTieBreakDynamic< View >::Choice::operator= | ( | const Choice & | ce | ) | [inline] |
Assignment operator.
Definition at line 480 of file brancher-tiebreak.hpp.
void Gecode::ViewSelTieBreakDynamic< View >::Choice::commit | ( | Space & | home, | |
unsigned int | a, | |||
ViewSelVirtualBase< _View > ** | tb | |||
) | const [inline] |
Perform commit.
Definition at line 492 of file brancher-tiebreak.hpp.
size_t Gecode::ViewSelTieBreakDynamic< View >::Choice::size | ( | void | ) | const [inline] |
Report size occupied.
Definition at line 498 of file brancher-tiebreak.hpp.
void Gecode::ViewSelTieBreakDynamic< View >::Choice::archive | ( | Archive & | e | ) | const [inline] |
Archive into e.
Definition at line 514 of file brancher-tiebreak.hpp.
Member Data Documentation
int Gecode::ViewSelTieBreakDynamic< _View >::Choice::n |
Number of choices.
Definition at line 215 of file brancher-tiebreak.hpp.
ChoiceVirtualBase** Gecode::ViewSelTieBreakDynamic< _View >::Choice::c |
Choices.
Definition at line 217 of file brancher-tiebreak.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/brancher-tiebreak.hpp (Revision: 12001)