add EDO continuator checking matrices of adaptive distribution

This commit is contained in:
Johann Dreo 2020-03-16 18:17:35 +01:00
commit 08bbf69f44
5 changed files with 263 additions and 10 deletions

View file

@ -25,8 +25,8 @@ Authors:
Caner Candan <caner.candan@thalesgroup.com>
*/
#ifndef _doContinue_h
#define _doContinue_h
#ifndef _edoContinue_h
#define _edoContinue_h
#include <eoFunctor.h>
#include <eoPersistent.h>
@ -44,20 +44,18 @@ class edoContinue : public eoUF< const D&, bool >, public eoPersistent
public:
virtual std::string className(void) const { return "edoContinue"; }
void readFrom(std::istream&)
{
/* It should be implemented by subclasses ! */
}
// May be implemented by subclasses if persistent interface needed
virtual void readFrom(std::istream&)
{ }
void printOn(std::ostream&) const
{
/* It should be implemented by subclasses ! */
}
virtual void printOn(std::ostream&) const
{ }
};
template < typename D >
class edoDummyContinue : public edoContinue< D >
{
public:
bool operator()(const D&){ return true; }
virtual std::string className() const { return "edoDummyContinue"; }