if (Encog.instance == null) {
Encog.instance = new Encog();
Encog.instance.registerPlugin(new SystemLoggingPlugin());
Encog.instance.registerPlugin(new SystemMethodsPlugin());
Encog.instance.registerPlugin(new SystemTrainingPlugin());
Encog.instance.registerPlugin(new SystemActivationPlugin());
}
return Encog.instance;
}