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

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.
Choice choice (const Space &home, Archive &e)
 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

View selection class for dynamic tie breaking.


Member Typedef Documentation

View type.

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


Constructor & Destructor Documentation

Gecode::ViewSelTieBreakDynamic::ViewSelTieBreakDynamic ( void  ) [inline]

Default constructor.

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

Gecode::ViewSelTieBreakDynamic::ViewSelTieBreakDynamic ( Space home,
ViewSelVirtualBase< _View > **  vsv,
int  n 
) [inline]

Constructor for initialization.

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


Member Function Documentation

ViewSelStatus Gecode::ViewSelTieBreakDynamic::init ( Space home,
_View  x 
) [inline]

Intialize with view x.

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

ViewSelStatus Gecode::ViewSelTieBreakDynamic::select ( Space home,
_View  x 
) [inline]

Possibly select better view x.

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

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

Return choice.

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

ViewSelTieBreakDynamic< _View >::Choice Gecode::ViewSelTieBreakDynamic::choice ( const Space home,
Archive e 
) [inline]

Return choice.

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

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

Commit to choice.

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

void Gecode::ViewSelTieBreakDynamic::update ( Space home,
bool  share,
ViewSelTieBreakDynamic vs 
)

Updating during cloning.

void Gecode::ViewSelTieBreakDynamic::dispose ( Space home) [inline]

Delete view selection.

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


Member Data Documentation

Number of tie breakers.

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

Tie breakers.

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


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