Generated on Mon Sep 17 2012 22:21:01 for Gecode by doxygen 1.8.1.1
Gecode::Set::Branch::AssignValMed< inc > Class Template Reference

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

#include <branch.hh>

List of all members.

Public Member Functions

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

Static Public Attributes

static const unsigned int alternatives = 1
 Number of alternatives.

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.

Reimplemented from Gecode::ValSelBase< SetView, int >.

Definition at line 180 of file branch.hh.


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