Generated on Fri Jul 13 2018 06:08:37 for Gecode by doxygen 1.8.14
Gecode::Float::Arithmetic::Pow< A, B > Class Template Reference

Propagator for bounds consistent pow operator More...

#include <arithmetic.hh>

Public Member Functions

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::MixBinaryPropagator< A, PC_FLOAT_BND, B, PC_FLOAT_BND >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low binary) More...
 
virtual void reschedule (Space &home)
 Schedule function. 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...
 
virtual void advise (Space &home, Advisor &a)
 Run advisor a to be run on failure in failed space. More...
 
double afc (void) const
 Return the accumlated failure count. More...
 
unsigned int id (void) const
 Return propagator id. More...
 
PropagatorGroup group (void) const
 Return group propagator belongs to. More...
 
void group (PropagatorGroup g)
 Add propagator to group g. More...
 
bool disabled (void) const
 Whether propagator is currently disabled. More...
 
- Public Member Functions inherited from Gecode::Actor
virtual ~Actor (void)
 To avoid warnings. More...
 

Static Public Member Functions

static ExecStatus post (Home home, A x0, B x1, int n)
 Post propagator for $x_0^n = x_1$. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s)
 Not used. More...
 
static void operator delete (void *p)
 Not used. More...
 
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...
 

Protected Member Functions

 Pow (Space &home, bool share, Pow &p)
 Constructor for cloning p. More...
 
 Pow (Home home, A x0, B x1, int n)
 Constructor for creation. More...
 
- Protected Member Functions inherited from Gecode::MixBinaryPropagator< A, PC_FLOAT_BND, B, PC_FLOAT_BND >
 MixBinaryPropagator (Space &home, bool, MixBinaryPropagator &)
 Constructor for cloning. More...
 
 MixBinaryPropagator (Home home, A, B)
 Constructor for creation. More...
 
 MixBinaryPropagator (Space &home, bool share, Propagator &p, A x0, B x1)
 Constructor for rewriting p during cloning. More...
 
- 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...
 
GPI::Infogpi (void)
 Provide access to global propagator information. More...
 

Protected Attributes

int m_n
 
- Protected Attributes inherited from Gecode::MixBinaryPropagator< A, PC_FLOAT_BND, B, PC_FLOAT_BND >
x0
 View of type View0. More...
 
x1
 View of type View1. More...
 

Detailed Description

template<class A, class B>
class Gecode::Float::Arithmetic::Pow< A, B >

Propagator for bounds consistent pow operator

The types A and B give the types of the views.

Requires

Definition at line 169 of file arithmetic.hh.

Constructor & Destructor Documentation

◆ Pow() [1/2]

template<class A , class B >
Gecode::Float::Arithmetic::Pow< A, B >::Pow ( Space home,
bool  share,
Pow< A, B > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 88 of file pow-nroot.hpp.

◆ Pow() [2/2]

template<class A , class B >
Gecode::Float::Arithmetic::Pow< A, B >::Pow ( Home  home,
x0,
x1,
int  n 
)
inlineprotected

Constructor for creation.

Definition at line 48 of file pow-nroot.hpp.

Member Function Documentation

◆ copy()

template<class A , class B >
Actor * Gecode::Float::Arithmetic::Pow< A, B >::copy ( Space home,
bool  share 
)
virtual

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 93 of file pow-nroot.hpp.

◆ propagate()

template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::Pow< A, B >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 99 of file pow-nroot.hpp.

◆ post()

template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::Pow< A, B >::post ( Home  home,
x0,
x1,
int  n 
)
static

Post propagator for $x_0^n = x_1$.

Definition at line 53 of file pow-nroot.hpp.

Member Data Documentation

◆ m_n

template<class A, class B>
int Gecode::Float::Arithmetic::Pow< A, B >::m_n
protected

Definition at line 173 of file arithmetic.hh.


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