Generated on Sat Feb 7 2015 02:01:48 for Gecode by doxygen 1.8.9.1
Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX > Class Template Reference

Propagator for disequality to Boolean sum with coefficients More...

#include <linear.hh>

Public Member Functions

 NqBoolScale (Home home, SBAP &p, SBAN &n, VX x, int c)
 Constructor for creation. More...
 
 NqBoolScale (Space &home, bool share, Propagator &pr, SBAP &p, SBAN &n, VX x, int c)
 Constructor for cloning pr. More...
 
virtual Actorcopy (Space &home, bool share)
 Create copy during cloning. More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
- Public Member Functions inherited from Gecode::Int::Linear::LinBoolScale< SBAP, SBAN, VX, PC_INT_VAL >
 LinBoolScale (Home home, SBAP &p, SBAN &n, VX x, int c)
 Constructor for creation. More...
 
 LinBoolScale (Space &home, bool share, Propagator &pr, SBAP &p, SBAN &n, VX x, int c)
 Constructor for cloning pr. More...
 
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low linear) More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (const Space &home) const
 Return the accumlated failure count. More...
 
- Public Member Functions inherited from Gecode::Actor

Static Public Member Functions

static ExecStatus post (Home home, SBAP &p, SBAN &n, VX x, int c)
 Post propagator. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 
- Protected Attributes inherited from Gecode::Int::Linear::LinBoolScale< SBAP, SBAN, VX, PC_INT_VAL >
SBAP p
 Positive Boolean views with coefficients on left-hand side. More...
 
SBAN n
 Negative Boolean views with coefficients on left-hand side. More...
 
VX x
 Integer view on right-hand side. More...
 
int c
 Integer constant on right-hand side. More...
 

Detailed Description

template<class SBAP, class SBAN, class VX>
class Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >

Propagator for disequality to Boolean sum with coefficients

Requires

Definition at line 1279 of file linear.hh.

Constructor & Destructor Documentation

template<class SBAP , class SBAN , class VX >
Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::NqBoolScale ( Home  home,
SBAP &  p,
SBAN &  n,
VX  x,
int  c 
)
inline

Constructor for creation.

Definition at line 567 of file bool-scale.hpp.

template<class SBAP , class SBAN , class VX >
Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::NqBoolScale ( Space home,
bool  share,
Propagator pr,
SBAP &  p,
SBAN &  n,
VX  x,
int  c 
)
inline

Constructor for cloning pr.

Definition at line 574 of file bool-scale.hpp.

Member Function Documentation

template<class SBAP , class SBAN , class VX >
Actor * Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::copy ( Space home,
bool  share 
)
virtual

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 582 of file bool-scale.hpp.

template<class SBAP , class SBAN , class VX >
ExecStatus Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 610 of file bool-scale.hpp.

template<class SBAP , class SBAN , class VX >
ExecStatus Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::post ( Home  home,
SBAP &  p,
SBAN &  n,
VX  x,
int  c 
)
static

Post propagator.

Definition at line 675 of file bool-scale.hpp.


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