Ejemplo n.º 1
0
AurynWeight TripletConnection::dw_pre(NeuronID post)
{
	NeuronID translated_spike = dst->global2rank(post); // only to be used for post traces
	AurynDouble dw = hom_fudge*(tr_post->get(translated_spike)*get_hom(translated_spike));
	// cout << "pre" << dw << endl;
	return dw;
}
Ejemplo n.º 2
0
/*! This function implements what happens to synapes transmitting a 
 *  spike to neuron 'post'. */
AurynWeight TripletConnection::dw_pre(NeuronID post)
{
	// translate post id to local id on rank: translated_spike
	NeuronID translated_spike = dst->global2rank(post); 
	AurynDouble dw = -hom_fudge*(tr_post->get(translated_spike)*get_hom(translated_spike));
	return dw;
}