Generated on for Gecode by doxygen 1.15.0
Test::Groups::Kill Class Reference

Test for killing propagators More...

Public Member Functions

 Kill (int n0, bool fix0, bool all0)
 Initialize test.
bool run (void)
 Perform actual tests.
Public Member Functions inherited from Test::Base
 Base (std::string s)
 Create and register test with name s.
const std::string & name (void) const
 Return name of test.
Basenext (void) const
 Return next test.
void next (Base *n)
 Set next test.
bool fixpoint (void)
 Throw a coin whether to compute a fixpoint.
virtual ~Base (void)
 Destructor.

Protected Attributes

int n
 Number of propagators.
bool fix
 Whether to compute fixpoint first.
bool all
 Whether to kill all propagators.

Additional Inherited Members

Static Public Member Functions inherited from Test::Base
static void sort (void)
 Sort tests alphabetically.
static Basetests (void)
 Return all tests.
static bool fixpoint (Gecode::Support::RandomGenerator &rand)
 Throw a coin whether to compute a fixpoint.
static std::string str (bool b)
 Map bool to string.
static std::string str (int i)
 Map integer to string.
static std::string str (const Gecode::IntArgs &i)
 Map integer array to string.
Gecode::Support::RandomGenerator _rand
 Random number generator.

Detailed Description

Test for killing propagators

Definition at line 74 of file groups.cpp.

Constructor & Destructor Documentation

◆ Kill()

Test::Groups::Kill::Kill ( int n0,
bool fix0,
bool all0 )
inline

Initialize test.

Definition at line 84 of file groups.cpp.

Member Function Documentation

◆ run()

bool Test::Groups::Kill::run ( void )
inlinevirtual

Perform actual tests.

Implements Test::Base.

Definition at line 89 of file groups.cpp.

Member Data Documentation

◆ n

int Test::Groups::Kill::n
protected

Number of propagators.

Definition at line 77 of file groups.cpp.

◆ fix

bool Test::Groups::Kill::fix
protected

Whether to compute fixpoint first.

Definition at line 79 of file groups.cpp.

◆ all

bool Test::Groups::Kill::all
protected

Whether to kill all propagators.

Definition at line 81 of file groups.cpp.


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