Generated on Fri Oct 19 11:26:37 2018 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 (FailImmediate &s)
 Constructor for cloning s.
virtual Spacecopy (void)
 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 95 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 100 of file search.cpp.

Test::Search::FailImmediate::FailImmediate ( FailImmediate s  )  [inline]

Constructor for cloning s.

Definition at line 106 of file search.cpp.


Member Function Documentation

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

Copy during cloning.

Implements Gecode::Space.

Definition at line 110 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 114 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 117 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 121 of file search.cpp.

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

Return name.

Definition at line 125 of file search.cpp.


Member Data Documentation

Variables used.

Definition at line 98 of file search.cpp.


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