Generated on Sat Feb 7 2015 02:01:40 for Gecode by doxygen 1.8.9.1
Gecode::PropCost Class Reference

Propagation cost. More...

#include <core.hpp>

Public Types

enum  ActualCost {
  AC_CRAZY_LO = 0, AC_CRAZY_HI = 0, AC_CUBIC_LO = 1, AC_CUBIC_HI = 1,
  AC_QUADRATIC_LO = 2, AC_QUADRATIC_HI = 2, AC_LINEAR_HI = 3, AC_LINEAR_LO = 4,
  AC_TERNARY_HI = 4, AC_BINARY_HI = 5, AC_TERNARY_LO = 5, AC_BINARY_LO = 6,
  AC_UNARY_LO = 6, AC_UNARY_HI = 6, AC_MAX = 6
}
 The actual cost values that are used. More...
 
enum  Mod { LO, HI }
 Propagation cost modifier. More...
 

Static Public Member Functions

static PropCost crazy (PropCost::Mod m, unsigned int n)
 Exponential complexity for modifier m and size measure n. More...
 
static PropCost crazy (PropCost::Mod m, int n)
 Exponential complexity for modifier m and size measure n. More...
 
static PropCost cubic (PropCost::Mod m, unsigned int n)
 Cubic complexity for modifier m and size measure n. More...
 
static PropCost cubic (PropCost::Mod m, int n)
 Cubic complexity for modifier m and size measure n. More...
 
static PropCost quadratic (PropCost::Mod m, unsigned int n)
 Quadratic complexity for modifier m and size measure n. More...
 
static PropCost quadratic (PropCost::Mod m, int n)
 Quadratic complexity for modifier m and size measure n. More...
 
static PropCost linear (PropCost::Mod m, unsigned int n)
 Linear complexity for modifier pcm and size measure n. More...
 
static PropCost linear (PropCost::Mod m, int n)
 Linear complexity for modifier pcm and size measure n. More...
 
static PropCost ternary (PropCost::Mod m)
 Three variables for modifier pcm. More...
 
static PropCost binary (PropCost::Mod m)
 Two variables for modifier pcm. More...
 
static PropCost unary (PropCost::Mod m)
 Single variable for modifier pcm. More...
 

Public Attributes

ActualCost ac
 Actual cost. More...
 

Detailed Description

Propagation cost.

Definition at line 537 of file core.hpp.

Member Function Documentation

PropCost Gecode::PropCost::crazy ( PropCost::Mod  m,
unsigned int  n 
)
inlinestatic

Exponential complexity for modifier m and size measure n.

Definition at line 4014 of file core.hpp.

PropCost Gecode::PropCost::crazy ( PropCost::Mod  m,
int  n 
)
inlinestatic

Exponential complexity for modifier m and size measure n.

Definition at line 4018 of file core.hpp.

PropCost Gecode::PropCost::cubic ( PropCost::Mod  m,
unsigned int  n 
)
inlinestatic

Cubic complexity for modifier m and size measure n.

Definition at line 4023 of file core.hpp.

PropCost Gecode::PropCost::cubic ( PropCost::Mod  m,
int  n 
)
inlinestatic

Cubic complexity for modifier m and size measure n.

Definition at line 4027 of file core.hpp.

PropCost Gecode::PropCost::quadratic ( PropCost::Mod  m,
unsigned int  n 
)
inlinestatic

Quadratic complexity for modifier m and size measure n.

Definition at line 4032 of file core.hpp.

PropCost Gecode::PropCost::quadratic ( PropCost::Mod  m,
int  n 
)
inlinestatic

Quadratic complexity for modifier m and size measure n.

Definition at line 4036 of file core.hpp.

PropCost Gecode::PropCost::linear ( PropCost::Mod  m,
unsigned int  n 
)
inlinestatic

Linear complexity for modifier pcm and size measure n.

Definition at line 4041 of file core.hpp.

PropCost Gecode::PropCost::linear ( PropCost::Mod  m,
int  n 
)
inlinestatic

Linear complexity for modifier pcm and size measure n.

Definition at line 4045 of file core.hpp.

PropCost Gecode::PropCost::ternary ( PropCost::Mod  m)
inlinestatic

Three variables for modifier pcm.

Definition at line 4050 of file core.hpp.

PropCost Gecode::PropCost::binary ( PropCost::Mod  m)
inlinestatic

Two variables for modifier pcm.

Definition at line 4054 of file core.hpp.

PropCost Gecode::PropCost::unary ( PropCost::Mod  m)
inlinestatic

Single variable for modifier pcm.

Definition at line 4058 of file core.hpp.

Member Data Documentation

ActualCost Gecode::PropCost::ac

Actual cost.

Definition at line 559 of file core.hpp.


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