org.neuroph.contrib.graphml
Class Graph
- java.lang.Object
-
- org.neuroph.contrib.graphml.XMLElement
-
- org.neuroph.contrib.graphml.Graph
-
public class Graph extends XMLElement
The parent XML element holding nodes and edges of a (sub)graph. Characterized by two attributes: 1. The Id of the graph. 2. The edgetype. For neural network representation directed is chosen. Contains all edges and nodes of the network as child elements.
-
-
Constructor Summary
Constructors Constructor and Description Graph(java.lang.String id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddNetwork(NeuralNetwork ann)Adds a neuroph neural network to the graphml reprentation.java.lang.StringgetTag()static voidmain(java.lang.String[] args)-
Methods inherited from class org.neuroph.contrib.graphml.XMLElement
addAttribute, appendChild, getAttributes, getChildElements, toString
-
-
-
-
Method Detail
-
addNetwork
public void addNetwork(NeuralNetwork ann)
Adds a neuroph neural network to the graphml reprentation.- Parameters:
ann-
-
main
public static void main(java.lang.String[] args)
-
getTag
public java.lang.String getTag()
- Specified by:
getTagin classXMLElement
-
-
DMelt 3.0 © DataMelt by jWork.ORG