Generated on Fri Oct 19 11:25:49 2018 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 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 1371 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 3693 of file core.hpp.

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

Destructor.

Reimplemented in CDBF::Choice.

Definition at line 3707 of file core.hpp.


Member Function Documentation

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

Return number of alternatives.

Definition at line 3697 of file core.hpp.


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