Generated on Tue Jul 27 2010 21:59:25 for Gecode by doxygen 1.7.1

View selection class for dynamic tie breaking. More...

#include <brancher-tiebreak.hpp>

List of all members.

Classes

class  Choice
 Choice for tie breakers More...

Public Types

typedef _View View
 View type.

Public Member Functions

 ViewSelTieBreakDynamic (void)
 Default constructor.
 ViewSelTieBreakDynamic (Space &home, ViewSelVirtualBase< _View > **vsv, int n)
 Constructor for initialization.
ViewSelStatus init (Space &home, _View x)
 Intialize with view x.
ViewSelStatus select (Space &home, _View x)
 Possibly select better view x.
Choice choice (Space &home)
 Return choice.
void commit (Space &home, const typename ViewSelTieBreakDynamic< _View >::Choice &c, unsigned int a)
 Commit to choice.
void update (Space &home, bool share, ViewSelTieBreakDynamic &vs)
 Updating during cloning.
void dispose (Space &home)
 Delete view selection.

Protected Attributes

int n
 Number of tie breakers.
ViewSelVirtualBase< _View > ** tb
 Tie breakers.

Detailed Description

template<class _View>
class Gecode::ViewSelTieBreakDynamic< _View >

View selection class for dynamic tie breaking.

Definition at line 190 of file brancher-tiebreak.hpp.


Member Typedef Documentation

template<class _View>
typedef _View Gecode::ViewSelTieBreakDynamic< _View >::View

View type.

Definition at line 198 of file brancher-tiebreak.hpp.


Constructor & Destructor Documentation

template<class View >
Gecode::ViewSelTieBreakDynamic< View >::ViewSelTieBreakDynamic ( void   )  [inline]

Default constructor.

Definition at line 468 of file brancher-tiebreak.hpp.

template<class _View>
Gecode::ViewSelTieBreakDynamic< _View >::ViewSelTieBreakDynamic ( Space home,
ViewSelVirtualBase< _View > **  vsv,
int  n 
)

Constructor for initialization.


Member Function Documentation

template<class _View>
ViewSelStatus Gecode::ViewSelTieBreakDynamic< _View >::init ( Space home,
_View  x 
)

Intialize with view x.

template<class _View>
ViewSelStatus Gecode::ViewSelTieBreakDynamic< _View >::select ( Space home,
_View  x 
)

Possibly select better view x.

template<class _View >
ViewSelTieBreakDynamic< _View >::Choice Gecode::ViewSelTieBreakDynamic< _View >::choice ( Space home  )  [inline]

Return choice.

Definition at line 523 of file brancher-tiebreak.hpp.

template<class _View >
void Gecode::ViewSelTieBreakDynamic< _View >::commit ( Space home,
const typename ViewSelTieBreakDynamic< _View >::Choice c,
unsigned int  a 
) [inline]

Commit to choice.

Definition at line 530 of file brancher-tiebreak.hpp.

template<class _View >
void Gecode::ViewSelTieBreakDynamic< _View >::update ( Space home,
bool  share,
ViewSelTieBreakDynamic< _View > &  vs 
) [inline]

Updating during cloning.

Definition at line 536 of file brancher-tiebreak.hpp.

template<class _View >
void Gecode::ViewSelTieBreakDynamic< _View >::dispose ( Space home  )  [inline]

Delete view selection.

Definition at line 545 of file brancher-tiebreak.hpp.


Member Data Documentation

template<class _View>
int Gecode::ViewSelTieBreakDynamic< _View >::n [protected]

Number of tie breakers.

Definition at line 193 of file brancher-tiebreak.hpp.

template<class _View>
ViewSelVirtualBase<_View>** Gecode::ViewSelTieBreakDynamic< _View >::tb [protected]

Tie breakers.

Definition at line 195 of file brancher-tiebreak.hpp.


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