001    package cnslab.cnsnetwork;
002
003    /***********************************************************************
004    * Used for STDP, map from synapse to spike time and relative weight.
005    * 
006    * @version
007    *   $Date: 2012-08-04 13:43:22 -0500 (Sat, 04 Aug 2012) $
008    *   $Rev: 104 $
009    *   $Author: croft $
010    * @author
011    *   Yi Dong
012    * @author
013    *   David Wallace Croft
014    ***********************************************************************/
015    public final class  TimeWeight
016    ////////////////////////////////////////////////////////////////////////
017    ////////////////////////////////////////////////////////////////////////
018    {
019    
020    /** spike time */
021    public double  time;
022    
023    /** relative weight */
024    public double  weight;
025
026    ////////////////////////////////////////////////////////////////////////
027    ////////////////////////////////////////////////////////////////////////
028    
029    public  TimeWeight (
030      final double  time,
031      final double  weight )
032    ////////////////////////////////////////////////////////////////////////
033    {
034      this.time   = time;
035      
036      this.weight = weight;
037    }
038    
039    ////////////////////////////////////////////////////////////////////////
040    ////////////////////////////////////////////////////////////////////////
041    }