realroot_doc 0.1.1
/Users/mourrain/Devel/mmx/realroot/include/realroot/strgy_sbdrl_parametric.hpp
Go to the documentation of this file.
00001 /********************************************************************
00002  *   This file is part of the source code of the realroot library.
00003  *   Author(s): J.P. Pavone, GALAAD, INRIA
00004  *   $Id: parametric.h,v 1.1 2005/07/11 10:03:56 jppavone Exp $
00005  ********************************************************************/
00006 #ifndef realroot_SOLVE_SBDSLV_SBDRULES_HPP
00007 #define realroot_SOLVE_SBDSLV_SBDRULES_HPP
00008 //--------------------------------------------------------------------
00009 namespace mmx {
00010 //--------------------------------------------------------------------
00011 namespace realroot 
00012 {
00013   namespace sbdrl
00014   {
00015     template< class solver >
00016     struct parametric
00017     {
00018       inline static bool process( solver * slv ) { 
00019         /* sans commentaires ! */
00020         return slv->subdivide(slv->largest(), 0.5 );
00021       };
00022     };
00023   };
00024 };
00025 //--------------------------------------------------------------------
00026 } //namespace mmx
00027 /********************************************************************/
00028 #endif //