de.webdings.jannis.neuralnet.nnml

Class BiNetToNNML


public class BiNetToNNML
extends NetToNNML

BiNetToNNML is used to convert a neural net of BiNeurons to a String containing a NNML representation of that net. The purpose of this String is to be written to a file. The output XML is written according to NNML 0.3

Version:
0.1 11.08.2005

Author:
Stefan Thesing
Website: http://www.webdings.de

Method Summary

String
generateString(NeuralNet net)
String
generateString(Neuron[][] layers)

Methods inherited from class de.webdings.jannis.neuralnet.nnml.NetToNNML

generateString, generateString

Method Details

generateString

public String generateString(NeuralNet net)
            throws NeuronTypeMismatchException,
                   NeuronNotFoundException
Overrides:
generateString in interface NetToNNML

Parameters:
net - the net to be converted to NNML

Returns:
a String containing a NNML representation of the net

Throws:
NeuronTypeMismatchException - if the layers contain neurons of different types
NeuronNotFoundException -


generateString

public String generateString(Neuron[][] layers)
            throws NeuronTypeMismatchException,
                   NeuronNotFoundException
Overrides:
generateString in interface NetToNNML

Parameters:
layers - the layers of the net to be converted to NNML

Returns:
a String containing a NNML representation of the net

Throws:
NeuronTypeMismatchException - if the layers contain neurons of different types
NeuronNotFoundException -


BiNetToNNML.java - Copyright (c) 2005 by Stefan Thesing

This file is part of Jannis.

Jannis is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Jannis is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Jannis; if not, write to the
Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA



© 2005 by Stefan Thesing;
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.