Developer documentation

strgy_simple.h
Go to the documentation of this file.
1 /**********************************************************************
2  * This file is part of the source code of the realroot library.
3  * Author(s): J.P. Pavone, GALAAD, INRIA
4  * $Id: simple.h,v 1.1 2005/07/11 10:03:57 jppavone Exp $
5  **********************************************************************/
6 #ifndef realroot_SOLVE_SBDSLV_STRGY_SIMPLE_HPP
7 #define realroot_SOLVE_SBDSLV_STRGY_SIMPLE_HPP
8 //--------------------------------------------------------------------
9 #include <realroot/strgy_empty.h>
10 //--------------------------------------------------------------------
11 namespace mmx {
12 //--------------------------------------------------------------------
13 namespace realroot
14 {
15  namespace strgy
16  {
17  template< class system, class _previous_ = empty<system> >
18  struct simple : _previous_
19  {
20  typedef typename system::creal_t creal_t;
21  typedef typename system::sz_t sz_t;
22  typedef typename system::interval_t interval_t;
23  bool process( system * slv )
24  {
25  if ( !_previous_::process(slv) ) return false;
26  slv->restrict();
27  slv->project();
28  return true;
29  };
30  };
31  };
32 };
33 //--------------------------------------------------------------------
34 } //namespace mmx
35 /********************************************************************/
36 #endif //
dstack_t::interval_t interval_t
Definition: system_system.h:31
bool process(system *slv)
Definition: strgy_simple.h:23
system::creal_t creal_t
Definition: strgy_simple.h:20
int sz_t
Definition: system_system.h:35
bool project(sz_t *eqs=0, sz_t ne=0)
Definition: system_system.h:548
real_t creal_t
Definition: system_system.h:28
Definition: system_system.h:25
system::sz_t sz_t
Definition: strgy_simple.h:21
Definition: array.hpp:12
system::interval_t interval_t
Definition: strgy_simple.h:22
Definition: strgy_simple.h:18
Home