Package nnetwork
Class Topology
java.lang.Object
nnetwork.Topology
public class Topology
extends java.lang.Object
Network topology.
-
Field Summary
Fields Modifier and Type Field Description (package private) int
allnodes
(package private) double
bias
(package private) Codec
cod
(package private) int[]
ev
(package private) int[]
evdir
(package private) java.lang.String
function
(package private) int
hidden
(package private) int[]
inodes
(package private) int
lower
(package private) java.lang.String
nettype
(package private) int
nodes
(package private) java.lang.String
ofunction
(package private) int[]
onodes
(package private) int
upper
-
Constructor Summary
Constructors Constructor Description Topology(java.lang.String type, int inputs, int outputs, int hidden, int nodes, int allnodes, java.lang.String function, java.lang.String ofunction, double bias, int upper, int lower)
Construct network topology. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
nettype
java.lang.String nettype -
ev
int[] ev -
evdir
int[] evdir -
inodes
int[] inodes -
onodes
int[] onodes -
nodes
int nodes -
allnodes
int allnodes -
bias
double bias -
upper
int upper -
lower
int lower -
function
java.lang.String function -
ofunction
java.lang.String ofunction -
cod
Codec cod
-
-
Constructor Details
-
Topology
public Topology(java.lang.String type, int inputs, int outputs, int hidden, int nodes, int allnodes, java.lang.String function, java.lang.String ofunction, double bias, int upper, int lower)Construct network topology.
-
-
Method Details
-
getev
public int[] getev()Get link weights. -
save2file
public void save2file()UNDER DEVELOPMENT -
getonodes
public int[] getonodes()Get output nodes. -
getupper
public int getupper()Get upper bound of link weights. -
getlower
public int getlower()Get lower bound of link weights.
-