Generated on Sat Aug 25 2012 15:53:09 for Gecode by doxygen 1.7.5

Choices storing position More...

#include <brancher.hpp>

List of all members.

Public Member Functions

 PosChoice (const Brancher &b, unsigned int a, const Pos &p, const typename ViewSel::Choice &viewc)
 Initialize choice for brancher b, number of alternatives a, position p, view selection choice viewc.
const Pospos (void) const
 Return position in array.
const ViewSel::Choice & viewchoice (void) const
 Return view selection choice.
virtual size_t size (void) const
 Report size occupied.
virtual void archive (Archive &e) const
 Archive into e.

Detailed Description

Choices storing position


Constructor & Destructor Documentation

Gecode::PosChoice::PosChoice ( const Brancher b,
unsigned int  a,
const Pos p,
const typename ViewSel::Choice &  viewc 
) [inline]

Initialize choice for brancher b, number of alternatives a, position p, view selection choice viewc.

Definition at line 206 of file brancher.hpp.


Member Function Documentation

const Pos & Gecode::PosChoice::pos ( void  ) const [inline]

Return position in array.

Definition at line 212 of file brancher.hpp.

const ViewSel::Choice & Gecode::PosChoice::viewchoice ( void  ) const [inline]

Return view selection choice.

Definition at line 217 of file brancher.hpp.

size_t Gecode::PosChoice::size ( void  ) const [inline, virtual]

Report size occupied.

Implements Gecode::Choice.

Reimplemented in Gecode::PosValChoice, and Gecode::Int::Branch::PosValuesChoice.

Definition at line 222 of file brancher.hpp.

void Gecode::PosChoice::archive ( Archive e) const [inline, virtual]

Archive into e.

Reimplemented from Gecode::Choice.

Reimplemented in Gecode::PosValChoice, and Gecode::Int::Branch::PosValuesChoice.

Definition at line 227 of file brancher.hpp.


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