ANN  0.1.1.5
A library containing multiple neural network models written in C
graph.h
Go to the documentation of this file.
1 
11 #ifndef _ANN_MODELS_PCFNN_GRAPH_H
12 #define _ANN_MODELS_PCFNN_GRAPH_H
13 
14 #include "../../config.h"
15 #include <stdlib.h>
16 #include <stdio.h>
17 #include "neuron.h"
18 #include "layer.h"
19 #include "network.h"
20 
21 #include <graphviz/gvc.h>
22 #ifdef WITH_CGRAPH
23 #include <graphviz/cgraph.h>
24 #else
25 #include <graphviz/graph.h>
26 #endif
27 
35 Agraph_t *PCFNN_GRAPH_create_graph(struct PCFNN_NETWORK *net, char *graph_name);
36 
37 
46 int PCFNN_GRAPH_create_graph_to_dot_file(struct PCFNN_NETWORK *net, char *graph_name, char *fout);
47 
48 
60 int PCFNN_GRAPH_render_graph_to_stream(struct PCFNN_NETWORK *net, char *graph_name, char *format, FILE *fout) __attribute__((deprecated));
61 
62 
74 int PCFNN_GRAPH_render_graph_to_file(struct PCFNN_NETWORK *net, char *graph_name, char *format, char *fout) __attribute__((deprecated));
75 
76 #endif /* _ANN_MODELS_PCFNN_GRAPH_H */
PCFNN_LAYER.
int PCFNN_GRAPH_render_graph_to_stream(struct PCFNN_NETWORK *net, char *graph_name, char *format, FILE *fout) __attribute__((deprecated))
Generate a graph (with graphviz) from the given PCFNN_NETWORK and render it to the given stream fout ...
Definition: graph.c:110
PCFNN_NEURON.
PCFNN_NETWORK.
int PCFNN_GRAPH_create_graph_to_dot_file(struct PCFNN_NETWORK *net, char *graph_name, char *fout)
Generate a graph (with graphviz) from the given PCFNN_NETWORK and write it to fout with the dot file ...
Definition: graph.c:90
Agraph_t * PCFNN_GRAPH_create_graph(struct PCFNN_NETWORK *net, char *graph_name)
Generate a graph (with graphviz) from the given PCFNN_NETWORK.
Definition: graph.c:17
int PCFNN_GRAPH_render_graph_to_file(struct PCFNN_NETWORK *net, char *graph_name, char *format, char *fout) __attribute__((deprecated))
Generate a graph (with graphviz) from the given PCFNN_NETWORK and render it to the given path fout wi...
Definition: graph.c:132
Network unit.
Definition: network.h:27