View Javadoc

1   /*
2    * Created on Oct 7, 2004
3    */
4   package yawn.nn.mlp;
5   
6   /***
7    * 
8    * <p>$Id: LayerConfig.java,v 1.7 2005/05/09 11:04:54 supermarti Exp $</p>
9    * 
10   * @author Luis Mart&iacute; (luis dot marti at uc3m dot es)
11   * @version $Revision: 1.7 $
12   */
13  public class LayerConfig {
14  
15  	/***
16  	 * 
17  	 * @uml.property name="size" 
18  	 */
19  	protected int size;
20  
21  	/***
22  	 * 
23  	 * @uml.property name="nodesClassFullName" 
24  	 */
25  	protected String nodesClassFullName;
26  
27  
28      public LayerConfig() {
29          super();
30      }
31  
32  	/***
33  	 * @return Returns the nodesClassFullName.
34  	 * 
35  	 * @uml.property name="nodesClassFullName"
36  	 */
37  	public String getNodesClassFullName() {
38  		return nodesClassFullName;
39  	}
40  
41  	/***
42  	 * @param className
43  	 *            The nodesClassFullName to set.
44  	 * 
45  	 * @uml.property name="nodesClassFullName"
46  	 */
47  	public void setNodesClassFullName(String className) {
48  		this.nodesClassFullName = className;
49  	}
50  
51  	/***
52  	 * @return Returns the size.
53  	 * 
54  	 * @uml.property name="size"
55  	 */
56  	public int getSize() {
57  		return size;
58  	}
59  
60  	/***
61  	 * @param size
62  	 *            The size to set.
63  	 * 
64  	 * @uml.property name="size"
65  	 */
66  	public void setSize(int size) {
67  		this.size = size;
68  	}
69  
70      public LayerConfig(String type, int size) {
71          this.nodesClassFullName = type;
72          this.size = size;
73      }
74  
75  }