@@ -49,68 +49,37 @@ namespace nest
4949class ArchivingNode : public StructuralPlasticityNode
5050{
5151public:
52- /* *
53- * \fn ArchivingNode()
54- * Constructor.
55- */
5652 ArchivingNode ();
5753
58- /* *
59- * \fn ArchivingNode()
60- * Copy Constructor.
61- */
6254 ArchivingNode ( const ArchivingNode& );
6355
6456 /* *
65- * \fn double get_K_value(long t)
66- * return the Kminus (synaptic trace) value at t (in ms). When the trace is
67- * requested at the exact same time that the neuron emits a spike, the trace
68- * value as it was just before the spike is returned.
57+ * Return the Kminus (synaptic trace) value at time t (given in ms).
58+ *
59+ * When the trace is requested at the exact same time that the neuron emits a spike,
60+ * the trace value as it was just before the spike is returned.
6961 */
7062 double get_K_value ( double t ) override ;
7163
7264 /* *
73- * \fn void get_K_values( double t,
74- * double& Kminus,
75- * double& nearest_neighbor_Kminus,
76- * double& Kminus_triplet )
77- * write the Kminus (eligibility trace for STDP),
78- * nearest_neighbour_Kminus (eligibility trace for nearest-neighbour STDP:
79- * like Kminus, but increased to 1, rather than by 1, on a spike
80- * occurrence),
81- * and Kminus_triplet
82- * values at t (in ms) to the provided locations.
65+ * Write the different STDP K values at time t (in ms) to the provided locations.
66+ *
67+ * @param Kminus the eligibility trace for STDP
68+ * @param nearest_neighbour_Kminus eligibility trace for nearest-neighbour STDP, like Kminus,
69+ but increased to 1, rather than by 1, when a spike occurs
70+ * @param Kminus_triplet eligibility trace for triplet STDP
71+ *
8372 * @throws UnexpectedEvent
8473 */
8574 void get_K_values ( double t, double & Kminus, double & nearest_neighbor_Kminus, double & Kminus_triplet ) override ;
8675
8776 /* *
88- * \fn void get_K_values( double t,
89- * double& Kminus,
90- * double& Kminus_triplet )
91- * The legacy version of the function, kept for compatibility
92- * after changing the function signature in PR #865.
93- * @throws UnexpectedEvent
94- */
95- void
96- get_K_values ( double t, double & Kminus, double & Kminus_triplet )
97- {
98- double nearest_neighbor_Kminus_to_discard;
99- get_K_values ( t, Kminus, nearest_neighbor_Kminus_to_discard, Kminus_triplet );
100- }
101-
102- /* *
103- * \fn double get_K_triplet_value(std::deque<histentry>::iterator &iter)
104- * return the triplet Kminus value for the associated iterator.
77+ * Return the triplet Kminus value for the associated iterator.
10578 */
10679 double get_K_triplet_value ( const std::deque< histentry >::iterator& iter );
10780
10881 /* *
109- * \fn void get_history(long t1, long t2,
110- * std::deque<Archiver::histentry>::iterator* start,
111- * std::deque<Archiver::histentry>::iterator* finish)
112- * return the spike times (in steps) of spikes which occurred in the range
113- * (t1,t2].
82+ * Return the spike times (in steps) of spikes which occurred in the range [t1,t2].
11483 */
11584 void get_history ( double t1,
11685 double t2,
@@ -130,26 +99,26 @@ class ArchivingNode : public StructuralPlasticityNode
13099
131100protected:
132101 /* *
133- * \fn void set_spiketime(Time const & t_sp, double offset)
134- * record spike history
102+ * Record spike history
135103 */
136104 void set_spiketime ( Time const & t_sp, double offset = 0.0 );
137105
138106 /* *
139- * \fn double get_spiketime()
140- * return most recent spike time in ms
107+ * Return most recent spike time in ms
141108 */
142109 inline double get_spiketime_ms () const ;
143110
144111 /* *
145- * \fn void clear_history()
146- * clear spike history
112+ * Clear spike history
147113 */
148114 void clear_history ();
149115
150- // number of incoming connections from stdp connectors.
151- // needed to determine, if every incoming connection has
152- // read the spikehistory for a given point in time
116+ /* *
117+ * Number of incoming connections from STDP connectors.
118+ *
119+ * This variable is needed to determine if every incoming connection has
120+ * read the spikehistory for a given point in time
121+ */
153122 size_t n_incoming_;
154123
155124private:
0 commit comments