openModeller  Version 1.5.0
generictemplate.cpp
Go to the documentation of this file.
1 //
2 // GenericTemplate
3 //
4 // Description:
5 //
6 //
7 // Author: CRIA <tim@linfiniti.com>, (C) 2004
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12 #include "generictemplate.hh"
13 
14 // This include is only necessary if you want to work with normalized values
15 // ScaleNormalizer is one of the available normalizers. Choose the one you need.
17 
23 {
24  // Instantiate a normalizer object when it's necessary to work with normalized values
25  _normalizerPtr = new ScaleNormalizer( 0.0, 1.0, true );
26 }
27 
30 {
31 
32 
33 }
34 
35 
36 
37 //
38 // Methods used to build the model
39 //
40 
45 char * GenericTemplate::name()
46 {
47  return "GenericTemplate";
48 } //replace this name!
49 
50 
57 int GenericTemplate::initialize( int ncycle )
58 {
59  //set the class member that holds the number of environmental variables
60  f_dim = samp->dim();
61  //set the class member that holds the number of occurences
62  f_localityCount = samp->numOccurrences();
63 }
64 
65 
71 {
72 
73 }
74 
75 
83 {
84 
85 }
86 
87 
88 //
89 // Methods used to project the model
90 //
91 
92 
98 {
99 
100 }
101 
109 {
110 
111 }
int done() const
double Scalar
Type of map values.
Definition: om_defs.hh:39
int getConvergence(Scalar *val)
Scalar getValue(Scalar const *x) const
int f_dim
Dimension of environmental space.
int initialize(int ncycle)