Generated on Tue Apr 18 10:23:16 2017 for Gecode by doxygen 1.6.3

Gecode::Choice Class Reference
[Programming actors]

Choice for performing commit More...

#include <core.hpp>

List of all members.

Public Member Functions

unsigned int alternatives (void) const
 Return number of alternatives.
virtual ~Choice (void)
 Destructor.
virtual size_t size (void) const =0
 Report size occupied by choice.
virtual void archive (Archive &e) const
 Archive into e.

Protected Member Functions

 Choice (const Brancher &b, const unsigned int a)
 Initialize for particular brancher b and alternatives a.

Detailed Description

Choice for performing commit

Must be refined by inheritance such that the information stored inside a choice is sufficient to redo a commit performed by a particular brancher.

Definition at line 1414 of file core.hpp.


Constructor & Destructor Documentation

Gecode::Choice::Choice ( const Brancher b,
const unsigned int  a 
) [inline, protected]

Initialize for particular brancher b and alternatives a.

Definition at line 3817 of file core.hpp.

Gecode::Choice::~Choice ( void   )  [inline, virtual]

Destructor.

Reimplemented in CDBF::Choice.

Definition at line 3831 of file core.hpp.


Member Function Documentation

unsigned int Gecode::Choice::alternatives ( void   )  const [inline]

Return number of alternatives.

Definition at line 3821 of file core.hpp.


The documentation for this class was generated from the following files: