Generated on Wed Jan 1 2020 10:37:59 for Gecode by doxygen 1.8.16
float.cpp
Go to the documentation of this file.
1 /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2 /*
3  * Main authors:
4  * Filip Konvicka <filip.konvicka@logis.cz>
5  * Lubomir Moric <lubomir.moric@logis.cz>
6  * Vincent Barichard <Vincent.Barichard@univ-angers.fr>
7  *
8  * Contributing authors:
9  * Christian Schulte <schulte@gecode.org>
10  *
11  * Copyright:
12  * LOGIS, s.r.o., 2008
13  * Christian Schulte, 2010
14  * Vincent Barichard, 2012
15  *
16  * This file is part of Gecode, the generic constraint
17  * development environment:
18  * http://www.gecode.org
19  *
20  * Permission is hereby granted, free of charge, to any person obtaining
21  * a copy of this software and associated documentation files (the
22  * "Software"), to deal in the Software without restriction, including
23  * without limitation the rights to use, copy, modify, merge, publish,
24  * distribute, sublicense, and/or sell copies of the Software, and to
25  * permit persons to whom the Software is furnished to do so, subject to
26  * the following conditions:
27  *
28  * The above copyright notice and this permission notice shall be
29  * included in all copies or substantial portions of the Software.
30  *
31  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
33  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
35  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
36  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
37  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38  *
39  */
40 
41 #include <gecode/float.hh>
42 
43 namespace Gecode { namespace Float {
44 
45  /*
46  * Dependencies
47  *
48  */
49  void
51  bool schedule) {
53  }
54 
55  void
58  }
59 
60  void
61  FloatVarImp::subscribe(Space& home, Advisor& a, bool fail) {
63  }
64 
65 }}
66 
67 // STATISTICS: float-var
ModEvent fail(Space &home)
Run advisors to be run on failure and returns ME_GEN_FAILED.
Definition: core.hpp:4570
bool assigned(void) const
Test whether variable is assigned.
Definition: float.hpp:84
Computation spaces.
Definition: core.hpp:1742
void subscribe(Space &home, Propagator &p, PropCond pc, bool schedule=true)
Subscribe propagator p with propagation condition pc to variable.
Definition: float.cpp:50
Gecode toplevel namespace
Base-class for propagators.
Definition: core.hpp:1064
static void schedule(Gecode::Space &home, Gecode::Propagator &p, Gecode::ModEvent me)
Schedule propagator p.
Definition: var-imp.hpp:448
struct Gecode::@602::NNF::@65::@67 a
For atomic nodes.
void reschedule(Space &home, Propagator &p, PropCond pc)
Re-schedule propagator p with propagation condition pc.
Definition: float.cpp:56
int PropCond
Type for propagation conditions.
Definition: core.hpp:72
Base-class for advisors.
Definition: core.hpp:1292
void reschedule(Gecode::Space &home, Gecode::Propagator &p, Gecode::PropCond pc, bool assigned)
Re-schedule propagator p.
Definition: var-imp.hpp:452
void subscribe(Gecode::Space &home, Gecode::Propagator &p, Gecode::PropCond pc, bool assigned, bool schedule)
Subscribe propagator p with propagation condition pc.
Definition: var-imp.hpp:439
int p
Number of positive literals for node type.
Definition: bool-expr.cpp:232