Generated on Thu Mar 22 10:40:02 2012 for Gecode by doxygen 1.6.3

Test::Search::FailImmediate Class Reference

Space that immediately fails. More...

List of all members.

Public Member Functions

 FailImmediate (HowToBranch, HowToBranch, HowToBranch, HowToConstrain=HTC_NONE)
 Constructor for space creation.
 FailImmediate (bool share, FailImmediate &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Copy during cloning.
virtual void constrain (const Space &)
 Add constraint for next better solution.
virtual int solutions (void) const
 Return number of solutions.
virtual bool best (void) const
 Verify that this is best solution.

Static Public Member Functions

static std::string name (void)
 Return name.

Public Attributes

IntVarArray x
 Variables used.

Detailed Description

Space that immediately fails.

Definition at line 89 of file search.cpp.


Constructor & Destructor Documentation

Test::Search::FailImmediate::FailImmediate ( HowToBranch  ,
HowToBranch  ,
HowToBranch  ,
HowToConstrain  = HTC_NONE 
) [inline]

Constructor for space creation.

Definition at line 94 of file search.cpp.

Test::Search::FailImmediate::FailImmediate ( bool  share,
FailImmediate s 
) [inline]

Constructor for cloning s.

Definition at line 100 of file search.cpp.


Member Function Documentation

virtual Space* Test::Search::FailImmediate::copy ( bool  share  )  [inline, virtual]

Copy during cloning.

Implements Gecode::Space.

Definition at line 104 of file search.cpp.

virtual void Test::Search::FailImmediate::constrain ( const Space  )  [inline, virtual]

Add constraint for next better solution.

Reimplemented from Gecode::Space.

Definition at line 108 of file search.cpp.

virtual int Test::Search::FailImmediate::solutions ( void   )  const [inline, virtual]

Return number of solutions.

Implements Test::Search::TestSpace.

Definition at line 111 of file search.cpp.

virtual bool Test::Search::FailImmediate::best ( void   )  const [inline, virtual]

Verify that this is best solution.

Implements Test::Search::TestSpace.

Definition at line 115 of file search.cpp.

static std::string Test::Search::FailImmediate::name ( void   )  [inline, static]

Return name.

Definition at line 119 of file search.cpp.


Member Data Documentation

Variables used.

Definition at line 92 of file search.cpp.


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