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

Choice storing position and value More...

#include <brancher.hpp>

List of all members.

Public Member Functions

 PosValChoice (const Brancher &b, const Pos &p, const typename ViewSel::Choice &viewc, const typename ValSel::Choice &valc, const typename ValSel::Val &n)
 Initialize choice for brancher b, position p, view choice viewc, value choice valc, and value n.
const ValSel::Choice & valchoice (void) const
 Return stored choice.
const ValSel::Val & val (void) const
 Return value to branch with.
virtual size_t size (void) const
 Report size occupied.
virtual void archive (Archive &e) const
 Archive into e.

Detailed Description

Choice storing position and value


Constructor & Destructor Documentation

Gecode::PosValChoice::PosValChoice ( const Brancher b,
const Pos p,
const typename ViewSel::Choice &  viewc,
const typename ValSel::Choice &  valc,
const typename ValSel::Val &  n 
) [inline]

Initialize choice for brancher b, position p, view choice viewc, value choice valc, and value n.

Definition at line 240 of file brancher.hpp.


Member Function Documentation

const ValSel::Choice & Gecode::PosValChoice::valchoice ( void  ) const [inline]

Return stored choice.

Definition at line 249 of file brancher.hpp.

const ValSel::Val & Gecode::PosValChoice::val ( void  ) const [inline]

Return value to branch with.

Definition at line 255 of file brancher.hpp.

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

Report size occupied.

Reimplemented from Gecode::PosChoice< ViewSel >.

Definition at line 261 of file brancher.hpp.

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

Archive into e.

Reimplemented from Gecode::PosChoice< ViewSel >.

Definition at line 267 of file brancher.hpp.


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