ANN
0.1.1.5
A library containing multiple neural network models written in C
|
PCFNN_GRAPH. More...
#include "../../config.h"
#include <stdlib.h>
#include <stdio.h>
#include "neuron.h"
#include "layer.h"
#include "network.h"
#include <graphviz/gvc.h>
#include <graphviz/graph.h>
Go to the source code of this file.
Functions | |
Agraph_t * | PCFNN_GRAPH_create_graph (struct PCFNN_NETWORK *net, char *graph_name) |
Generate a graph (with graphviz) from the given PCFNN_NETWORK. More... | |
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 format. More... | |
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 with the given format. More... | |
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 with the given format. More... | |
PCFNN_GRAPH.
Graph functions for PCFNN neural network
Definition in file graph.h.
Agraph_t * PCFNN_GRAPH_create_graph | ( | struct PCFNN_NETWORK * | net, |
char * | graph_name | ||
) |
Generate a graph (with graphviz) from the given PCFNN_NETWORK.
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | graph_name | (char*) name of your 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 format.
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | graph_name | (char*) name of your network |
[in] | fout | (char*) path to file |
Definition at line 90 of file graph.c.
int PCFNN_GRAPH_render_graph_to_file | ( | struct PCFNN_NETWORK * | net, |
char * | graph_name, | ||
char * | format, | ||
char * | fout | ||
) |
Generate a graph (with graphviz) from the given PCFNN_NETWORK and render it to the given path fout with the given format.
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | graph_name | (char*) name of your network |
[in] | format | (char*) name of the renderer to use (ex: png, ps, dot, ...) |
[in] | fout | (char*) path to file (will be created if not already exist) |
Definition at line 132 of file graph.c.
int PCFNN_GRAPH_render_graph_to_stream | ( | struct PCFNN_NETWORK * | net, |
char * | graph_name, | ||
char * | format, | ||
FILE * | fout | ||
) |
Generate a graph (with graphviz) from the given PCFNN_NETWORK and render it to the given stream fout with the given format.
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | graph_name | (char*) name of your network |
[in] | format | (char*) name of the renderer to use (ex: png, ps, dot, ...) |
[in] | fout | (FILE*) stream to file with written permission |
Definition at line 110 of file graph.c.