Generated on Thu Feb 21 2013 23:12:02 for Gecode by doxygen 1.8.3.1
Gecode::Set::Branch::AssignValMed< inc > Class Template Reference

Class for assigning median value (rounding downwards) More...

#include <branch.hh>

Public Member Functions

 AssignValMed (void)
 Default constructor. More...
 
 AssignValMed (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization. More...
 
- Public Member Functions inherited from Gecode::Set::Branch::ValMed< inc >
 ValMed (void)
 Default constructor. More...
 
 ValMed (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization. More...
 
int val (Space &home, SetView x) const
 Return minimum value of view x. More...
 
ModEvent tell (Space &home, unsigned int a, SetView x, int v)
 Tell $v\in x$ (a = 0) or $v\notin x$ (a = 1) More...
 
- Public Member Functions inherited from Gecode::ValSelBase< SetView, int >
 ValSelBase (void)
 Default constructor. More...
 
 ValSelBase (Space &home, const ValBranchOptions &vbo)
 Constructor for initialization. More...
 
EmptyValSelChoice choice (Space &home)
 Return choice. More...
 
EmptyValSelChoice choice (const Space &home, Archive &e)
 Return choice. More...
 
void commit (Space &home, const EmptyValSelChoice &c, unsigned a)
 Commit to choice. More...
 
void update (Space &home, bool share, ValSelBase &vs)
 Updating during cloning. More...
 
void dispose (Space &home)
 Delete value selection. More...
 

Static Public Attributes

static const unsigned int alternatives = 1
 Number of alternatives. More...
 

Additional Inherited Members

- Public Types inherited from Gecode::ValSelBase< SetView, int >
typedef SetView View
 View type. More...
 
typedef int Val
 Value type. More...
 
typedef EmptyValSelChoice Choice
 Choice type. More...
 

Detailed Description

template<bool inc>
class Gecode::Set::Branch::AssignValMed< inc >

Class for assigning median value (rounding downwards)

Definition at line 177 of file branch.hh.

Constructor & Destructor Documentation

template<bool inc>
Gecode::Set::Branch::AssignValMed< inc >::AssignValMed ( void  )
inline

Default constructor.

Definition at line 180 of file select-val.hpp.

template<bool inc>
Gecode::Set::Branch::AssignValMed< inc >::AssignValMed ( Space home,
const ValBranchOptions vbo 
)
inline

Constructor for initialization.

Definition at line 183 of file select-val.hpp.

Member Data Documentation

template<bool inc>
const unsigned int Gecode::Set::Branch::AssignValMed< inc >::alternatives = 1
static

Number of alternatives.

Definition at line 180 of file branch.hh.


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