Generated on Thu Oct 26 14:25:57 2006 for Gecode by doxygen 1.4.7

Gecode::Int::Branch::AssignDesc Class Reference

#include <branch.hh>

Inherits Gecode::BranchingDesc.

List of all members.


Detailed Description

Branching descriptions storing position and value

Definition at line 352 of file branch.hh.

Public Member Functions

 AssignDesc (const Branching *b, const int p, const int n)
 Initialize description for branching b, position p and value n.
int pos (void) const
 Return position in array.
int val (void) const
 Return value to branch with.
virtual size_t size (void) const
 Report size occupied.

Protected Attributes

const int _pos
const int _val


Constructor & Destructor Documentation

Gecode::Int::Branch::AssignDesc::AssignDesc ( const Branching b,
const int  p,
const int  n 
) [inline]

Initialize description for branching b, position p and value n.

Definition at line 29 of file assign.icc.


Member Function Documentation

int Gecode::Int::Branch::AssignDesc::pos ( void   )  const [inline]

Return position in array.

Definition at line 32 of file assign.icc.

int Gecode::Int::Branch::AssignDesc::val ( void   )  const [inline]

Return value to branch with.

Definition at line 36 of file assign.icc.

size_t Gecode::Int::Branch::AssignDesc::size ( void   )  const [virtual]

Report size occupied.

Implements Gecode::BranchingDesc.

Definition at line 27 of file assign.cc.


Member Data Documentation

Definition at line 354 of file branch.hh.

Definition at line 355 of file branch.hh.


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