Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::SearchTracer::EdgeInfo Class Reference

Edge information. More...

#include <search.hh>

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

◆ EdgeInfo() [1/2]

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

Initialize as non existing.

Definition at line 127 of file tracer.hpp.

◆ EdgeInfo() [2/2]

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

◆ init() [1/2]

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

Initialize.

Definition at line 107 of file tracer.hpp.

◆ init() [2/2]

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.

◆ invalidate()

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

Invalidate edge information (for stealing)

Definition at line 102 of file tracer.hpp.

◆ operator bool()

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

Test whether edge actually exists.

Definition at line 131 of file tracer.hpp.

◆ wid()

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

Return parent worker id.

Definition at line 136 of file tracer.hpp.

◆ nid()

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

Return parent node id.

Definition at line 142 of file tracer.hpp.

◆ alternative()

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

Return number of alternative.

Definition at line 148 of file tracer.hpp.

◆ string()

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

Return string for alternative.

Definition at line 154 of file tracer.hpp.

Member Data Documentation

◆ _wid

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.

◆ _nid

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

The parent node id.

Definition at line 247 of file search.hh.

◆ _a

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

Number of alternative.

Definition at line 249 of file search.hh.

◆ _s

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: