NEST  2.6.0,not_revisioned_source_dir@0
histentry.h
Go to the documentation of this file.
1 /*
2  * histentry.h
3  *
4  * This file is part of NEST.
5  *
6  * Copyright (C) 2004 The NEST Initiative
7  *
8  * NEST is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * NEST is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with NEST. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
32 #ifndef HISTENTRY_H
33 #define HISTENTRY_H
34 
35 #include "nest.h"
36 
37 namespace nest {
38 
39 // entry in the spiking history
40  class histentry
41  {
42  public:
43  histentry(double_t t, double_t Kminus, double_t triplet_Kminus, size_t access_counter);
44 
45  double_t t_; // point in time when spike occurred (in ms)
46  double_t Kminus_; // value of Kminus at that time
47  double_t triplet_Kminus_; // value of triplet STDP Kminus at that time
48  size_t access_counter_; // how often this entry was accessed (to enable removal,
49  // once read by all neurons which need it)
50  };
51 
52 }
53 
54 #endif
double_t triplet_Kminus_
Definition: histentry.h:47
size_t access_counter_
Definition: histentry.h:48
histentry(double_t t, double_t Kminus, double_t triplet_Kminus, size_t access_counter)
Definition: histentry.cpp:35
double_t t_
Definition: histentry.h:45
double double_t
Double precision floating point numbers.
Definition: nest.h:93
double_t Kminus_
Definition: histentry.h:46
Default types used by the NEST kernel.
Definition: histentry.h:40