Directed graph

C and Graphviz

I'm working on a fuzzy pattern recognition system where, fuzzy relations, are represented by matrices.

We can look at such fuzzy matrices as adjacency matrices for directed graphs.

What I need to do is to draw the digraph related to a particular fuzzy matrix.

Is is possible to do this directly from my C code ?

Thank you in advance.

Dijkstra Tool with directed graphs

I'm using the dijkstra tool in order to find the shortest path in a directed graph, however this tool seem to consider every edge to be bidirectional.
For instance, lets consider this simple example:
After applying the algorithm I get that N3 is reachable with distance 1, having N1 as the previous node.
Is this supposed to happen? Any solution for this problem?
Thanks in advance. Best regards.

Recent comments

Syndicate content