Creating a Graph

From: Manuel Weindorf <weindorf_at_ipf.bau-verm.uni-karlsruhe.de>
Date: Fri 11 May 2001 01:27:11 PM GMT
Message-Id: <01051115265508.25474@ipfu2>
Hi,

how can I create a graph (of the library(graph_algorithms)) from the 
following facts

node( 1, some, attributes, ... ).
node( 2, some, attributes, ...).
etc.

edge( 1, 1, 2 ).    % that means -> edge( EdgeID, FromNode, ToNode ).
edge( 2, 2, 3 ).
etc.

I guess I should use the 'make_graph_symbolic()' predicate, but I couldn't 
figure aout hoe to create the nodes_arrayaout of my facts :-( 

Question: How to create a array from a list ??

Many thanks
Manuel
-- 
Manuel Weindorf (weindorf@ipf.uni-karlsruhe.de)
Institut fuer Photogrammetrie und Fernerkundung, Universitaet Karlsruhe
Postfach 6980 D-76128 Karlsruhe Tel. +49721 6086010 Fax +49721 694568
http://www-ipf.bau-verm.uni-karlsruhe.de
Received on Fri May 11 14:26:16 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:08 PM GMT GMT