Generated on Thu Apr 11 13:59:49 2019 for Gecode by doxygen 1.6.3

Gecode::SearchTracer::EdgeInfo Class Reference

Edge information. More...

#include <search.hh>

List of all members.

Public Member Functions

void init (unsigned int wid, unsigned int nid, unsigned int a)
 Initialize.
void init (unsigned int wid, unsigned int nid, unsigned int a, const Space &s, const Choice &c)
 Initialize.
void invalidate (void)
 Invalidate edge information (for stealing).
 EdgeInfo (void)
 Initialize as non existing.
 EdgeInfo (unsigned int wid, unsigned int nid, unsigned int a)
 Initialize.
 operator bool (void) const
 Test whether edge actually exists.
unsigned int wid (void) const
 Return parent worker id.
unsigned int nid (void) const
 Return parent node id.
unsigned int alternative (void) const
 Return number of alternative.
std::string string (void) const
 Return string for alternative.

Protected Attributes

unsigned int _wid
 The parent worker id (edge does not exist if UINT_MAX).
unsigned int _nid
 The parent node id.
unsigned int _a
 Number of alternative.
std::string _s
 String corresponding to alternative.

Detailed Description

Edge information.

Definition at line 242 of file search.hh.


Constructor & Destructor Documentation

Gecode::SearchTracer::EdgeInfo::EdgeInfo ( void   )  [inline]

Initialize as non existing.

Definition at line 127 of file tracer.hpp.

Gecode::SearchTracer::EdgeInfo::EdgeInfo ( unsigned int  wid,
unsigned int  nid,
unsigned int  a 
) [inline]

Initialize.

Definition at line 122 of file tracer.hpp.


Member Function Documentation

void Gecode::SearchTracer::EdgeInfo::init ( unsigned int  wid,
unsigned int  nid,
unsigned int  a 
) [inline]

Initialize.

Definition at line 107 of file tracer.hpp.

void Gecode::SearchTracer::EdgeInfo::init ( unsigned int  wid,
unsigned int  nid,
unsigned int  a,
const Space s,
const Choice c 
) [inline]

Initialize.

Definition at line 113 of file tracer.hpp.

void Gecode::SearchTracer::EdgeInfo::invalidate ( void   )  [inline]

Invalidate edge information (for stealing).

Definition at line 102 of file tracer.hpp.

Gecode::SearchTracer::EdgeInfo::operator bool ( void   )  const [inline]

Test whether edge actually exists.

Definition at line 131 of file tracer.hpp.

unsigned int Gecode::SearchTracer::EdgeInfo::wid ( void   )  const [inline]

Return parent worker id.

Definition at line 136 of file tracer.hpp.

unsigned int Gecode::SearchTracer::EdgeInfo::nid ( void   )  const [inline]

Return parent node id.

Definition at line 142 of file tracer.hpp.

unsigned int Gecode::SearchTracer::EdgeInfo::alternative ( void   )  const [inline]

Return number of alternative.

Definition at line 148 of file tracer.hpp.

std::string Gecode::SearchTracer::EdgeInfo::string ( void   )  const [inline]

Return string for alternative.

Definition at line 154 of file tracer.hpp.


Member Data Documentation

unsigned int Gecode::SearchTracer::EdgeInfo::_wid [protected]

The parent worker id (edge does not exist if UINT_MAX).

Definition at line 245 of file search.hh.

unsigned int Gecode::SearchTracer::EdgeInfo::_nid [protected]

The parent node id.

Definition at line 247 of file search.hh.

unsigned int Gecode::SearchTracer::EdgeInfo::_a [protected]

Number of alternative.

Definition at line 249 of file search.hh.

std::string Gecode::SearchTracer::EdgeInfo::_s [protected]

String corresponding to alternative.

Definition at line 251 of file search.hh.


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