Generated on Mon Jul 6 18:09:27 2009 for Gecode by doxygen 1.5.9

Radiotherapy::NestedSearch Class Reference

Nested search on the q variables. More...

List of all members.

Public Member Functions

virtual bool status (const Space &) const
 Check status of branching, return true if alternatives left.
IntVarArgs getRow (Radiotherapy *row, int i)
virtual BranchingDescdescription (Space &home)
 Return branching description.
virtual ExecStatus commit (Space &, const BranchingDesc &d, unsigned int)
 Commit for branching description d and alternative a.
virtual Actorcopy (Space &home, bool share)
 Copy branching.
size_t dispose (Space &home)
 Dispose member function.

Static Public Member Functions

static void post (Space &home)
 Post branching.


Detailed Description

Nested search on the q variables.

Definition at line 206 of file radiotherapy.cpp.


Member Function Documentation

virtual bool Radiotherapy::NestedSearch::status ( const Space home  )  const [inline, virtual]

Check status of branching, return true if alternatives left.

This method is called when Space::status is called, it determines whether to continue branching with this branching or move on to the (possibly) next branching.

Implements Gecode::Branching.

Definition at line 257 of file radiotherapy.cpp.

IntVarArgs Radiotherapy::NestedSearch::getRow ( Radiotherapy row,
int  i 
) [inline]

Definition at line 261 of file radiotherapy.cpp.

virtual BranchingDesc* Radiotherapy::NestedSearch::description ( Space home  )  [inline, virtual]

Return branching description.

Note that this method relies on the fact that it is called immediately after a previous call to status. Moreover, the member function can only be called once.

Implements Gecode::Branching.

Definition at line 272 of file radiotherapy.cpp.

virtual ExecStatus Radiotherapy::NestedSearch::commit ( Space home,
const BranchingDesc d,
unsigned  a 
) [inline, virtual]

Commit for branching description d and alternative a.

The current branching in the space home performs a commit from the information provided by the branching description d and the alternative a.

Implements Gecode::Branching.

Definition at line 304 of file radiotherapy.cpp.

virtual Actor* Radiotherapy::NestedSearch::copy ( Space home,
bool  share 
) [inline, virtual]

Copy branching.

Implements Gecode::Actor.

Definition at line 308 of file radiotherapy.cpp.

static void Radiotherapy::NestedSearch::post ( Space home  )  [inline, static]

Post branching.

Definition at line 312 of file radiotherapy.cpp.

size_t Radiotherapy::NestedSearch::dispose ( Space home  )  [inline, virtual]

Dispose member function.

Reimplemented from Gecode::Actor.

Definition at line 316 of file radiotherapy.cpp.


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