OpendTect  6.3
nlamodel.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: June 2001
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "nlamod.h"
14 #include "gendefs.h"
15 
16 class NLADesign;
17 
23 {
24 public:
25 
26  virtual ~NLAModel() {}
27 
28  virtual const char* name() const = 0;
29  virtual const NLADesign& design() const = 0;
30  virtual NLAModel* clone() const = 0;
31  virtual float versionNr() const = 0;
32 
33  virtual IOPar& pars() = 0;
34  const IOPar& pars() const
35  { return const_cast<NLAModel*>
36  (this)->pars(); }
38 
39  virtual void dump(BufferString&) const = 0;
41 
42  virtual const char* nlaType( bool compact=true ) const
43  { return compact ? "NN"
44  : "Neural Network"; }
45 
46 };
const IOPar & pars() const
Attrib set in/out.
Definition: nlamodel.h:34
Minimum Interface for NLA models.
Definition: nlamodel.h:22
Simple description of NLA design, viewed from user&#39;s perspective.
Definition: nladesign.h:27
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
virtual const char * nlaType(bool compact=true) const
Definition: nlamodel.h:42
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
#define mClass(module)
Definition: commondefs.h:161
virtual ~NLAModel()
Definition: nlamodel.h:26

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017