com.anji.nn
Interface Connection
- All Known Implementing Classes:
- BiasConnection, EyePixelConnection, LocationXConnection, LocationYConnection, LocationZConnection, NeuronConnection, RandomConnection, StepHourglassConnection, ThetaConnection
- public interface Connection
Abstract connection to carry data into neurons.
- Author:
- Philip Tucker
Field Summary |
static java.lang.String |
XML_TAG
base XML tag |
Method Summary |
long |
cost()
|
double |
read()
|
java.lang.String |
toXml()
|
XML_TAG
public static final java.lang.String XML_TAG
- base XML tag
- See Also:
- Constant Field Values
read
public double read()
- Returns:
- double value carried on this connection from incoming neuron
toXml
public java.lang.String toXml()
- Returns:
- String representation of object
cost
public long cost()
- Returns:
- number corresponding to cost of activation in resources