001 package cnslab.cnsnetwork; 002 003 /*********************************************************************** 004 * Vector recorder component, one layer of neuron, orientation 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 VComponent 016 //////////////////////////////////////////////////////////////////////// 017 //////////////////////////////////////////////////////////////////////// 018 { 019 020 /** Neuron layer */ 021 public Layer layer; 022 023 /** The orientation of the vector */ 024 public int orientation; 025 026 //////////////////////////////////////////////////////////////////////// 027 //////////////////////////////////////////////////////////////////////// 028 029 public VComponent ( 030 final Layer layer, 031 final int orientation ) 032 //////////////////////////////////////////////////////////////////////// 033 { 034 this.layer = layer; 035 036 this.orientation = orientation; 037 } 038 039 //////////////////////////////////////////////////////////////////////// 040 //////////////////////////////////////////////////////////////////////// 041 042 @Override 043 public String toString ( ) 044 //////////////////////////////////////////////////////////////////////// 045 { 046 return new String ( 047 "layer:" + layer + " orientation:" + orientation ); 048 } 049 050 //////////////////////////////////////////////////////////////////////// 051 //////////////////////////////////////////////////////////////////////// 052 }