Exemplo n.º 1
0
        /// <summary>
        /// Constructs a new <see cref="Cell"/> object
        /// </summary>
        /// <param name="parentColumnIndx"></param>
        /// <param name="colSeq">the index of this <see cref="Cell"/> within its column</param>
        /// <param name="numCellsPerColumn"></param>
        /// <param name="cellId"></param>
        /// <param name="cellActivity"></param>
        public Cell(int parentColumnIndx, int colSeq, int numCellsPerColumn, int cellId, CellActivity cellActivity)
        {
            this.ParentColumnIndex = parentColumnIndx;

            this.Index = parentColumnIndx * numCellsPerColumn + colSeq;

            this.CellId = cellId;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Constructs a new <see cref="Cell"/> object
 /// </summary>
 /// <param name="parentColumnIndx"></param>
 /// <param name="colSeq">the index of this <see cref="Cell"/> within its column</param>
 /// <param name="numCellsPerColumn"></param>
 /// <param name="cellId"></param>
 /// <param name="cellActivity"></param>
 public Cell(int parentColumnIndx, int colSeq, int numCellsPerColumn, int cellId, CellActivity cellActivity)
 {
     this.ParentColumnIndex = parentColumnIndx;
     //this.Index = parentColumnIndx.getIndex() * parentColumnIndx.getNumCellsPerColumn() + colSeq;
     this.Index = parentColumnIndx * numCellsPerColumn + colSeq;
     //this.Segments = new List<DistalDendrite>();
     this.CellId = cellId;
 }