MCPcopy Create free account
hub / github.com/Gecode/gecode / EngineInfo

Class EngineInfo

gecode/search.hh:202–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 };
201 /// Information about an engine
202 class EngineInfo {
203 protected:
204 /// The engine type
205 EngineType _type;
206 /// First worker or engine
207 unsigned int _fst;
208 /// Last worker or engine
209 unsigned int _lst;
210 public:
211 /// Do not initialize
212 EngineInfo(void);
213 /// Initialize
214 EngineInfo(EngineType et, unsigned int fst, unsigned int lst);
215 /// \name Engine type information
216 //@{
217 /// Return engine type
218 EngineType type(void) const;
219 /// Return whether engine is a meta engine
220 bool meta(void) const;
221 //@}
222 /// \name Information for basic (non-meta) engines
223 //@{
224 /// Return id of first worker
225 unsigned int wfst(void) const;
226 /// Return id of last worker plus one
227 unsigned int wlst(void) const;
228 /// Return number of workers
229 unsigned int workers(void) const;
230 //@}
231 /// \name Information for meta engines
232 //@{
233 /// Return id of first engine
234 unsigned int efst(void) const;
235 /// Return id of last engine
236 unsigned int elst(void) const;
237 /// Return number of engines
238 unsigned int engines(void) const;
239 //@}
240 };
241 /// Edge information
242 class EdgeInfo {
243 protected:

Callers 1

engineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected