saaps.network
Class NetworkParam

java.lang.Object
  |
  +--saaps.network.NetworkParam

public class NetworkParam
extends java.lang.Object
implements java.io.Serializable

A NetworkParam object contain the weights, biases and activation functions for a feedforward network. The object is created by reading the data from a file.

See Also:
Serialized Form

Constructor Summary
NetworkParam()
           
NetworkParam(java.lang.String fileName)
           
 
Method Summary
 int[] getActFun()
           
 Jama.Matrix[] getBias()
           
 int getNumOfInputs()
           
 int getNumOfLayers()
           
 Jama.Matrix[] getWeight()
           
 void setActFun(int[] a)
           
 void setBias(Jama.Matrix[] b)
           
 void setNumOfLayers(int n)
           
 void setWeight(Jama.Matrix[] m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkParam

public NetworkParam()

NetworkParam

public NetworkParam(java.lang.String fileName)
Method Detail

getNumOfInputs

public int getNumOfInputs()

getNumOfLayers

public int getNumOfLayers()

setNumOfLayers

public void setNumOfLayers(int n)

getWeight

public Jama.Matrix[] getWeight()

setWeight

public void setWeight(Jama.Matrix[] m)

getBias

public Jama.Matrix[] getBias()

setBias

public void setBias(Jama.Matrix[] b)

getActFun

public int[] getActFun()

setActFun

public void setActFun(int[] a)