001package cnslab.cnsnetwork; 002/** 003 * Same as InputEvent but, Avalanch InputEvent stored extra avlanch id and sourceID 004 * 005 * @author 006 */ 007public class AInputEvent extends InputEvent 008{ 009 010 public AInputEvent(double time ,Branch branch, int from,int sourceId,int avalancheId) { 011 super(time,branch,from); 012 this.sourceId = sourceId; 013 this.avalancheId = avalancheId; 014 } 015 /** 016 *the spike belong to which avalancheID 017 */ 018 public int avalancheId; 019 020 /** 021 *the avalance originated from which netHost. 022 */ 023 public int sourceId; 024} 025