Gecode::FloatAFC Class Reference
[Branching on float variables]
Recording AFC information for float variables. More...
#include <float.hh>
Public Member Functions | |
FloatAFC (void) | |
Construct as not yet initialized. | |
FloatAFC (const FloatAFC &a) | |
Copy constructor. | |
FloatAFC & | operator= (const FloatAFC &a) |
Assignment operator. | |
FloatAFC (Home home, const FloatVarArgs &x, double d=1.0, bool share=true) | |
Initialize for float variables x and decay factor d. | |
void | init (Home home, const FloatVarArgs &x, double d=1.0, bool share=true) |
Initialize for float variables x with decay factor d. |
Detailed Description
Recording AFC information for float variables.
Definition at line 1509 of file float.hh.
Constructor & Destructor Documentation
Gecode::FloatAFC::FloatAFC | ( | void | ) | [inline] |
Gecode::FloatAFC::FloatAFC | ( | const FloatAFC & | a | ) | [inline] |
Gecode::FloatAFC::FloatAFC | ( | Home | home, | |
const FloatVarArgs & | x, | |||
double | d = 1.0 , |
|||
bool | share = true | |||
) | [inline] |
Member Function Documentation
void Gecode::FloatAFC::init | ( | Home | home, | |
const FloatVarArgs & | x, | |||
double | d = 1.0 , |
|||
bool | share = true | |||
) | [inline] |
Initialize for float variables x with decay factor d.
This member function can only be used once and only if the AFC storage has been constructed with the default constructor.
If several AFC objects are created for a space or its clones, the AFC values are shared between spaces. If the values should not be shared, share should be false.
The documentation for this class was generated from the following files: