com.anji.integration
Interface Activator
- All Superinterfaces:
- XmlPersistable
- All Known Implementing Classes:
- AnjiActivator
public interface Activator
- extends XmlPersistable
Although any object taking and returning double arrays can implement this, it is meant to be
a simple neural net interface where the arrays are input and output activation patterns.
- Author:
- Philip Tucker
next
double[] next()
- Returns:
- double[] output array given last provided input activation via
next(double[]) or next(double[][]). - See Also:
next(double[]),
next(double[][])
next
double[] next(double[] stimuli)
- Parameters:
stimuli -
- Returns:
- double[] output array given input
stimuli.
next
double[][] next(double[][] stimuli)
- Parameters:
stimuli -
- Returns:
- double[][] sequence of output arrays given input sequence
stimult.
toXml
java.lang.String toXml()
- Specified by:
toXml in interface XmlPersistable
- Returns:
- String XML representation of object.
reset
void reset()
- reset object to initial state
getName
java.lang.String getName()
- Returns:
- String identifier, preferably unique, of object.
getMinResponse
double getMinResponse()
- Returns:
- min response value
getMaxResponse
double getMaxResponse()
- Returns:
- max response value
getInputDimension
int getInputDimension()
- Returns:
- dimension of input array
getOutputDimension
int getOutputDimension()
- Returns:
- dimension of output array