Generated on Thu Feb 14 2013 20:59:55 for Gecode by doxygen 1.8.3.1
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. More...
 
 Choice (const Space &home, Archive &e, ViewSelVirtualBase< _View > **tb, int n0)
 Constructor. More...
 
 Choice (const Choice &ce)
 Copy constructor. More...
 
const Choiceoperator= (const Choice &ce)
 Assignment operator. More...
 
void commit (Space &home, unsigned int a, ViewSelVirtualBase< _View > **tb) const
 Perform commit. More...
 
size_t size (void) const
 Report size occupied. More...
 
 ~Choice (void)
 Destructor. More...
 
void archive (Archive &e) const
 Archive into e. More...
 

Public Attributes

int n
 Number of choices. More...
 
ChoiceVirtualBase ** c
 Choices. More...
 

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

template<class View >
Gecode::ViewSelTieBreakDynamic< View >::Choice::Choice ( Space home,
ViewSelVirtualBase< _View > **  tb,
int  n0 
)
inline

Constructor.

Definition at line 457 of file brancher-tiebreak.hpp.

template<class View >
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.

template<class View >
Gecode::ViewSelTieBreakDynamic< View >::Choice::Choice ( const Choice ce)
inline

Copy constructor.

Definition at line 473 of file brancher-tiebreak.hpp.

template<class View >
Gecode::ViewSelTieBreakDynamic< View >::Choice::~Choice ( void  )
inline

Destructor.

Definition at line 507 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 480 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 492 of file brancher-tiebreak.hpp.

template<class View >
size_t Gecode::ViewSelTieBreakDynamic< View >::Choice::size ( void  ) const
inline

Report size occupied.

Definition at line 498 of file brancher-tiebreak.hpp.

template<class View >
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

template<class _View>
int Gecode::ViewSelTieBreakDynamic< _View >::Choice::n

Number of choices.

Definition at line 215 of file brancher-tiebreak.hpp.

template<class _View>
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: