org.neat4j.neat.applications.core
Class NEATApplicationEngine
java.lang.Object
org.neat4j.neat.applications.core.NEATApplicationEngine
- All Implemented Interfaces:
- AIController, ApplicationEngine
- Direct Known Subclasses:
- ForexNEATPredictionEngine, FXTradingNEATEngine, MSENEATPredictionEngine
public abstract class NEATApplicationEngine
- extends java.lang.Object
- implements ApplicationEngine
Provides bare bones NEAT application
- Author:
- MSimmerson
Field Summary |
protected static java.lang.String |
GA
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GA
protected static final java.lang.String GA
- See Also:
- Constant Field Values
NEATApplicationEngine
public NEATApplicationEngine()
showNet
public abstract void showNet()
createNet
public NeuralNet createNet(AIConfig config)
throws InitialisationFailedException
- Throws:
InitialisationFailedException
initialise
public void initialise(AIConfig config)
throws InitialisationFailedException
- Description copied from interface:
AIController
- Initialises the controller environment described by config
- Specified by:
initialise
in interface AIController
- Throws:
InitialisationFailedException
- if environment creation fails- See Also:
org.neat4j.ailibrary.core.AIController#initialise(org.neat4j.ailibrary.core.AIConfig)
readObject
protected java.lang.Object readObject(java.lang.String fileName)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads a saved chromosome from fileName
- Parameters:
fileName
- - location of chromosome
- Returns:
- Recreate object
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
net
public NeuralNet net()
netData
public NetworkDataSet netData()
setNetData
public void setNetData(NetworkDataSet netData)
setNet
public void setNet(NeuralNet net)