Generated on Tue Apr 18 10:24:05 2017 for Gecode by doxygen 1.6.3

Gecode::Search::Meta::Parallel::CollectAll Class Reference

Collect all solutions. More...

#include <pbs.hh>

List of all members.

Public Member Functions

 CollectAll (void)
 Initialize.
bool add (Space *s, Slave< CollectAll > *r)
 Add a solution a reported by r and always return true.
bool constrain (const Space &b)
 Dummy function.
bool empty (void) const
 Check whether there is any solution left.
Spaceget (Slave< CollectAll > *&r)
 Return solution reported by r.
 ~CollectAll (void)
 Destructor.

Static Public Attributes

static const bool best = false
 Whether it collects best solutions.

Protected Attributes

Support::DynamicQueue< Space
*, Heap
solutions
 Queue of solutions.

Detailed Description

Collect all solutions.

Definition at line 95 of file pbs.hh.


Constructor & Destructor Documentation

Gecode::Search::Meta::Parallel::CollectAll::CollectAll ( void   )  [inline]

Initialize.

Definition at line 42 of file pbs.hpp.

Gecode::Search::Meta::Parallel::CollectAll::~CollectAll ( void   )  [inline]

Destructor.

Definition at line 63 of file pbs.hpp.


Member Function Documentation

bool Gecode::Search::Meta::Parallel::CollectAll::add ( Space s,
Slave< CollectAll > *  r 
) [inline]

Add a solution a reported by r and always return true.

Definition at line 45 of file pbs.hpp.

bool Gecode::Search::Meta::Parallel::CollectAll::constrain ( const Space b  )  [inline]

Dummy function.

Definition at line 50 of file pbs.hpp.

bool Gecode::Search::Meta::Parallel::CollectAll::empty ( void   )  const [inline]

Check whether there is any solution left.

Definition at line 55 of file pbs.hpp.

Space * Gecode::Search::Meta::Parallel::CollectAll::get ( Slave< CollectAll > *&  r  )  [inline]

Return solution reported by r.

Definition at line 59 of file pbs.hpp.


Member Data Documentation

Queue of solutions.

Definition at line 98 of file pbs.hh.

Whether it collects best solutions.

Definition at line 101 of file pbs.hh.


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