igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Should igraph_adjlist have an argument IGRAPH_OUT or IGRAPH_IN?


From: Paul Johnson
Subject: [igraph] Should igraph_adjlist have an argument IGRAPH_OUT or IGRAPH_IN?
Date: Sun, 3 May 2009 14:06:46 -0500

Thanks to your tip last week, I've got my Objective-C program running
with igraph routines.

I have noticed one wrinkle that I need to ask about.

I've created an empty graph, taken from it the adjacency lists and
filled them up with nodes. Because my model is organized so that each
target agent keeps a list of others that can influence it, I create
the adjacency list with

   igraph_adjlist_init(&graph, &myAList, IGRAPH_IN);

int igraph_adjlist(igraph_t *graph, const igraph_adjlist_t *adjlist,
igraph_bool_t directed, igraph_bool_t duplicate);

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]