#include <Erl_mlp.h>
Public Member Functions | |
double | ecalFraction (const double t1=0.0, const double t2=0.0, const double t3=0.0, const double t4=0.0, const double t5=0.0, const double t6=0.0, const double t7=0.0) |
Erl_mlp () | |
double | evaluate (const double t1=0.0, const double t2=0.0, const double t3=0.0, const double t4=0.0, const double t5=0.0, const double t6=0.0, const double t7=0.0) |
void | setOffsetAndSlope (const double offset, const double slope) |
virtual | ~Erl_mlp () |
Private Member Functions | |
double | ecalOutput () |
double | neuron_01010 () |
double | neuron_01020 () |
double | neuron_01030 () |
double | neuron_01040 () |
double | neuron_01050 () |
double | neuron_01060 () |
double | neuron_01070 () |
double | neuron_01090 () |
double | neuron_01100 () |
double | neuron_01110 () |
double | neuron_01120 () |
double | neuron_01130 () |
double | neuron_01140 () |
double | neuron_01150 () |
double | neuron_01160 () |
double | neuron_01170 () |
double | neuron_01190 () |
double | neuron_01200 () |
double | output () |
double | transform (const double k) |
Private Attributes | |
double | offset_ |
double | slope_ |
double | t1_ |
double | t2_ |
double | t3_ |
double | t4_ |
double | t5_ |
double | t6_ |
double | t7_ |
Erl_mlp::Erl_mlp | ( | ) |
Definition at line 7 of file Erl_mlp.cc.
{ }
Erl_mlp::~Erl_mlp | ( | ) | [virtual] |
Definition at line 12 of file Erl_mlp.cc.
{ }
double pftools::Erl_mlp::ecalFraction | ( | const double | t1 = 0.0 , |
const double | t2 = 0.0 , |
||
const double | t3 = 0.0 , |
||
const double | t4 = 0.0 , |
||
const double | t5 = 0.0 , |
||
const double | t6 = 0.0 , |
||
const double | t7 = 0.0 |
||
) | [inline] |
double pftools::Erl_mlp::ecalOutput | ( | ) | [inline, private] |
Definition at line 62 of file Erl_mlp.h.
References neuron_01200().
Referenced by ecalFraction().
{ return neuron_01200() * 8.0/5.0; }
double pftools::Erl_mlp::evaluate | ( | const double | t1 = 0.0 , |
const double | t2 = 0.0 , |
||
const double | t3 = 0.0 , |
||
const double | t4 = 0.0 , |
||
const double | t5 = 0.0 , |
||
const double | t6 = 0.0 , |
||
const double | t7 = 0.0 |
||
) | [inline] |
double pftools::Erl_mlp::neuron_01010 | ( | ) | [inline, private] |
Definition at line 81 of file Erl_mlp.h.
References t1_.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return t1_; }
double pftools::Erl_mlp::neuron_01020 | ( | ) | [inline, private] |
Definition at line 82 of file Erl_mlp.h.
References t2_.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return t2_; }
double pftools::Erl_mlp::neuron_01030 | ( | ) | [inline, private] |
Definition at line 83 of file Erl_mlp.h.
References t3_.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return t3_; }
double pftools::Erl_mlp::neuron_01040 | ( | ) | [inline, private] |
Definition at line 84 of file Erl_mlp.h.
References t4_.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return t4_; }
double pftools::Erl_mlp::neuron_01050 | ( | ) | [inline, private] |
Definition at line 85 of file Erl_mlp.h.
References t5_.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return t5_; }
double pftools::Erl_mlp::neuron_01060 | ( | ) | [inline, private] |
Definition at line 86 of file Erl_mlp.h.
References t6_.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return t6_; }
double pftools::Erl_mlp::neuron_01070 | ( | ) | [inline, private] |
Definition at line 87 of file Erl_mlp.h.
References t7_.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return t7_; }
double pftools::Erl_mlp::neuron_01090 | ( | ) | [inline, private] |
Definition at line 70 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(1.77006431112942702599e-01 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + 2.14497710612496367277e-01 * neuron_01050() + 1.43625191299545074131e+00 * neuron_01040() + 1.35895192827592214968e+00 * neuron_01030() + 3.42315251134937381661e-01 * neuron_01020() + 2.12812599023514514851e-01 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01100 | ( | ) | [inline, private] |
Definition at line 71 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(2.43335108048174653117e-02 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -1.54265303752188047415e-02 * neuron_01050() + 5.31887393676174879964e-01 * neuron_01040() + 1.29700229375154463263e+00 * neuron_01030() + -2.51855201382369053853e-01 * neuron_01020() + -5.06439475438290737097e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01110 | ( | ) | [inline, private] |
Definition at line 72 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(2.26240107787991917565e-02 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -5.41830867221511913723e-02 * neuron_01050() + 5.34848607670024622784e-01 * neuron_01040() + 1.31149902444579002925e+00 * neuron_01030() + -2.64338982863860205708e-01 * neuron_01020() + -4.06486696831378502281e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01120 | ( | ) | [inline, private] |
Definition at line 73 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(3.53971299195493110945e-02 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -8.37804537629018991618e-02 * neuron_01050() + 6.07782495555854840319e-01 * neuron_01040() + 1.18563130862724230852e+00 * neuron_01030() + -2.68121286212209153366e-01 * neuron_01020() + -6.12015780590782140780e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01130 | ( | ) | [inline, private] |
Definition at line 74 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(5.69937856406597387338e-02 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -1.00016140981091974926e-01 * neuron_01050() + 7.03662421839865714901e-01 * neuron_01040() + 9.52968317012650611986e-01 * neuron_01030() + -2.73076926608740555569e-01 * neuron_01020() + -7.68552378252462947694e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01140 | ( | ) | [inline, private] |
Definition at line 75 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(8.30357728126230598686e-02 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -1.03499741661745067733e-01 * neuron_01050() + 8.06348739275546733118e-01 * neuron_01040() + 6.38758549749190884803e-01 * neuron_01030() + -2.80508796980343866334e-01 * neuron_01020() + -7.87991143999155069233e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01150 | ( | ) | [inline, private] |
Definition at line 76 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(1.09487813610100057082e-01 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -9.70768580095677652286e-02 * neuron_01050() + 9.10591921032660733815e-01 * neuron_01040() + 2.66241721261271546695e-01 * neuron_01030() + -2.89724454229762784507e-01 * neuron_01020() + -6.80058450136514086592e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01160 | ( | ) | [inline, private] |
Definition at line 77 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(1.32909925381862498162e-01 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -8.45644764303960794205e-02 * neuron_01050() + 1.01870729141489779757e+00 * neuron_01040() + -1.39709767812830482070e-01 * neuron_01030() + -3.01085409364046208136e-01 * neuron_01020() + -4.85758323472233188856e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01170 | ( | ) | [inline, private] |
Definition at line 78 of file Erl_mlp.h.
References alignCSCRings::e, neuron_01010(), neuron_01020(), neuron_01030(), neuron_01040(), neuron_01050(), neuron_01060(), neuron_01070(), and transform().
Referenced by neuron_01190(), and neuron_01200().
{ return transform(1.50514730336528679278e-01 * neuron_01070() + 2.00000000000000011102e-01 * neuron_01060() + -7.16821794819610530469e-02 * neuron_01050() + 1.14442797677888430385e+00 * neuron_01040() + -5.53609997511943840998e-01 * neuron_01030() + -3.18164032162814081062e-01 * neuron_01020() + -2.52943742434275434250e-02 * neuron_01010()) ; }
double pftools::Erl_mlp::neuron_01190 | ( | ) | [inline, private] |
Definition at line 66 of file Erl_mlp.h.
References neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
Referenced by output().
{ return 5.06272330366805203838e-02 * neuron_01110() + 7.27249962994314103071e-02 * neuron_01100() + 6.87531379353593874448e-01 * neuron_01090() + 5.90999649535358523300e-02 * neuron_01170() + 5.11852363238117641364e-02 * neuron_01160() + 4.49943694412880193512e-02 * neuron_01150() + 4.07425660324388025368e-02 * neuron_01140() + 3.93358734274708785050e-02 * neuron_01130() + 4.19854685691317813800e-02 * neuron_01120(); }
double pftools::Erl_mlp::neuron_01200 | ( | ) | [inline, private] |
Definition at line 67 of file Erl_mlp.h.
References neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
Referenced by ecalOutput().
{ return 2.45908500608800761889e-01 * neuron_01110() + 2.87953657915926142241e-01 * neuron_01100() + 1.12104946100116772967e-01 * neuron_01090() + -2.48512814545735039040e-01 * neuron_01170() + -1.73640293653000848950e-01 * neuron_01160() + -9.57729315919204349239e-02 * neuron_01150() + -1.34634120232926899480e-02 * neuron_01140() + 7.33600499895466356959e-02 * neuron_01130() + 1.62882613167782547281e-01 * neuron_01120(); }
double pftools::Erl_mlp::output | ( | ) | [inline, private] |
Definition at line 57 of file Erl_mlp.h.
References neuron_01190(), offset_, and slope_.
Referenced by evaluate().
{ return ((80 * neuron_01190()) - offset_) / slope_; //return 0; }
void pftools::Erl_mlp::setOffsetAndSlope | ( | const double | offset, |
const double | slope | ||
) | [inline] |
double pftools::Erl_mlp::transform | ( | const double | k | ) | [inline, private] |
Definition at line 52 of file Erl_mlp.h.
Referenced by neuron_01090(), neuron_01100(), neuron_01110(), neuron_01120(), neuron_01130(), neuron_01140(), neuron_01150(), neuron_01160(), and neuron_01170().
{ return tanh(k); //return k/2.0; }
double pftools::Erl_mlp::offset_ [private] |
Definition at line 50 of file Erl_mlp.h.
Referenced by output(), and setOffsetAndSlope().
double pftools::Erl_mlp::slope_ [private] |
Definition at line 50 of file Erl_mlp.h.
Referenced by output(), and setOffsetAndSlope().
double pftools::Erl_mlp::t1_ [private] |
Definition at line 49 of file Erl_mlp.h.
Referenced by ecalFraction(), evaluate(), and neuron_01010().
double pftools::Erl_mlp::t2_ [private] |
Definition at line 49 of file Erl_mlp.h.
Referenced by ecalFraction(), evaluate(), and neuron_01020().
double pftools::Erl_mlp::t3_ [private] |
Definition at line 49 of file Erl_mlp.h.
Referenced by ecalFraction(), evaluate(), and neuron_01030().
double pftools::Erl_mlp::t4_ [private] |
Definition at line 49 of file Erl_mlp.h.
Referenced by ecalFraction(), evaluate(), and neuron_01040().
double pftools::Erl_mlp::t5_ [private] |
Definition at line 49 of file Erl_mlp.h.
Referenced by ecalFraction(), evaluate(), and neuron_01050().
double pftools::Erl_mlp::t6_ [private] |
Definition at line 49 of file Erl_mlp.h.
Referenced by ecalFraction(), evaluate(), and neuron_01060().
double pftools::Erl_mlp::t7_ [private] |
Definition at line 49 of file Erl_mlp.h.
Referenced by ecalFraction(), evaluate(), and neuron_01070().