33 #include <selforg/inspectable.h>
103 void update(
double factor=1.5);
void removeGen(Gen *gen)
[inline] This function removes one gen which is saved inside the context (but NO deleting of the gen!...
Definition: GenContext.h:89
double m_med
the median of the gens
Definition: GenContext.h:142
double m_q1
the under quartil of the gens
Definition: GenContext.h:137
double m_avg
the average of the gens
Definition: GenContext.h:147
The Gen class.
Definition: Gen.h:51
The GenContext class.
Definition: GenContext.h:51
double m_w3
the upper whisker of the gens
Definition: GenContext.h:157
GenPrototype * getPrototype(void) const
[inline], [const]
Definition: GenContext.h:73
std::vector< Gen * > m_storage
(vector<Gen*> Storage for all Genes which are saved in this context.
Definition: GenContext.h:116
virtual ~GenContext()
destructor to delete a GenContext.
Definition: GenContext.cpp:58
void update(double factor=1.5)
This function makes an update on the statistical values.
Definition: GenContext.cpp:62
const std::vector< Gen * > & getGene(void) const
[inline], [const] This function gives all gens which are saved in this context back.
Definition: GenContext.h:97
The GenPrototype class.
Definition: GenPrototype.h:55
Interface for inspectable objects.
Definition: inspectable.h:48
double m_min
the min value of the gens
Definition: GenContext.h:127
double m_max
the max value of the gens
Definition: GenContext.h:163
double m_w1
the under whisker of the gens
Definition: GenContext.h:132
void addGen(Gen *gen)
[inline] This function add a Gen to the Context.
Definition: GenContext.h:81
static bool restore()
restore all GenContext
Definition: GenContext.cpp:85
double m_q3
the upper quartil of the gens
Definition: GenContext.h:152
GenPrototype * m_prototype
(GenPrototyp*) the prototype for which are the context is.
Definition: GenContext.h:122