Re: [graph-tool] vertex_size with GraphView

2015-10-08 Thread Tiago de Paula Peixoto
;vsize" property belongs to the original graph, and hence will have a different number of elements. You need to do: vsize = gv.own_property(vsize) before calling graph_draw(). Note that, like GraphView, this does not duplicate the property map; it is only a "view". Best, Tiago -- Tiago d

Re: [graph-tool] Beginner's trouble with simple graph_tool code snippets

2015-10-08 Thread Tiago de Paula Peixoto
ocumentation. https://graph-tool.skewed.de/static/doc/graph_tool.html#how-to-use-the-documentation In short: The docstring examples assume that graph_tool.all has been imported as gt: >>> import graph_tool.all as gt Best, Tiago -- Tiago de Paula Peixoto <ti...@ske

Re: [graph-tool] graph_tool.topology.shortest_distance with disconnected graphs

2015-10-02 Thread Tiago de Paula Peixoto
heck to test if two vertices are unreachable is: shortest_distance(g, u, v) >= g.num_vertices() Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Description: OpenPGP digital signature ___ graph-tool mailing li

Re: [graph-tool] Bug in find_vertex_range?

2015-09-30 Thread Tiago de Paula Peixoto
On 30.09.2015 19:03, Santiago Videla wrote: > Hi, > > I updated graph-tool to 2.9 and I got an exception from > find_vertex_range method (see below). Can you confirm this is a bug? Yes it is. I've just fixed it in git. Thanks for spotting this. Best, Tiago -- Tiago de Paula

Re: [graph-tool] Deciding if vertex is in subgraph

2015-09-25 Thread Tiago de Paula Peixoto
Invalid vertex index: 1 Hence you could do: def vertex_belongs(v, g): try: g.vertex(int(v)) return True except ValueError: return False Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Description: OpenPGP digital signature

Re: [graph-tool] Segmentation fault when running the animation scripts in the Cookbook section

2015-09-21 Thread Tiago de Paula Peixoto
ou run the script under gdb: gdb python (gdb) set args ./script.py (gdb) run when the segfault occurs you type (gdb) bt and post the _entire_ result. Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Description: OpenPGP digit

Re: [graph-tool] Segmentation fault when running the animation scripts in the Cookbook section

2015-09-20 Thread Tiago de Paula Peixoto
ples. Also, I'm not sure what you mean with "another GTK backend". TKAgg is not a GTK backend, it is a matplotlib backend. Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Description: OpenPGP digital signature __

Re: [graph-tool] Efficient Bipartite Projection

2015-09-17 Thread Tiago de Paula Peixoto
llow this issue: https://git.skewed.de/count0/graph-tool/issues/196 -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Problem running code (Problems with new version?)

2015-09-16 Thread Tiago de Paula Peixoto
t; > Any ideas? This has already been fixed in the new version, 2.5. Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Computing k-disks fast

2015-09-11 Thread Tiago de Paula Peixoto
riation of BFS or DFS. Is > it possible do use graph_tool.search.bfs_search in some way for this? Just do: dist = shortest_distance(g, source=v) k_disk = GraphView(g, vfilt=dist.fa <= k) Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Descr

Re: [graph-tool] Computing k-disks fast

2015-09-11 Thread Tiago de Paula Peixoto
es in g and then applies a filter? This is > rather inefficient, especially when then graph is huge... You can set "max_dist" in shortest_distance() to limit the search. Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de> signature

Re: [graph-tool] Arbitrary vertex indices in an edge lsit

2015-09-05 Thread Tiago de Paula Peixoto
ex between 0 and the highest occurring index in my > dataset. Is there any way to avoid all these unnecessary vertices? This is possible, but only in the version in git. You would do simply g.add_edge_list(edges, hashed=True). In the current version, you have to do the mapping yourself. Best, Tiag

Re: [graph-tool] About using graph-tool to find paths

2015-09-03 Thread Tiago de Paula Peixoto
. AFIK there is no algorithm that will find them in any reasonable time. -- Tiago de Paula Peixoto <ti...@skewed.de> signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] specifying the number of cores

2015-08-26 Thread Tiago de Paula Peixoto
to modify the number of threads during the program, you can use the the function graph_tool.openmp_set_num_threads(). Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list

Re: [graph-tool] Most efficient way to model an epidemic?

2015-08-23 Thread Tiago de Paula Peixoto
. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] graphviz_draw crashing?

2015-08-19 Thread Tiago de Paula Peixoto
be going on. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Single source shortest Path

2015-08-17 Thread Tiago de Paula Peixoto
/static/doc/generation.html#graph_tool.generation.predecessor_tree Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de

Re: [graph-tool] Single source shortest Path

2015-08-17 Thread Tiago de Paula Peixoto
t.vertex(v) in time O(1), where t is the predecessor tree. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman

Re: [graph-tool] Geometric graph generation: possible bug, difficult to re-produce

2015-08-17 Thread Tiago de Paula Peixoto
), it is not a good idea, since one would need to parse it by hand. Instead do print(repr(array)). Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool

Re: [graph-tool] Geometric graph generation: possible bug, difficult to re-produce

2015-08-13 Thread Tiago de Paula Peixoto
are missing, but I'm pretty sure something's wrong because I'm not getting the number of edges I expect.) It is difficult to say anything without a specific example of the problem. Please post a small, self-contained code where the issue can be seen. Best, Tiago -- Tiago de Paula Peixoto ti

Re: [graph-tool] Please help with my licensing headache!

2015-08-03 Thread Tiago de Paula Peixoto
that are chosen at run time. This improves performance, but adds complexity. (There is also an unmaintained, deprecated but official python bindings for BGL: https://github.com/erwinvaneijk/bgl-python ) Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital

Re: [graph-tool] Please help with my licensing headache!

2015-08-03 Thread Tiago de Paula Peixoto
so that someone down the line can avoid the terms of the GPL, i.e. turn it into proprietary code. Why would you do that? But it is up to you, of course. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] Please help with my licensing headache!

2015-08-02 Thread Tiago de Paula Peixoto
restrictions being imposed. The LGPL makes an exception for just linking (importing) the library, which can make strategic sense in some cases, but I judged it not to be the case for graph-tool. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital

Re: [graph-tool] Citation

2015-07-23 Thread Tiago de Paula Peixoto
On 23.07.2015 08:36, Flavien Lambert wrote: Hi, could you tell me how to cite the project in a scientific paper? A bibTeX entry would be awesome! You find this in the documentation: https://graph-tool.skewed.de/static/doc/faq.html#how-do-i-cite-graph-tool Best, Tiago -- Tiago de Paula

Re: [graph-tool] Installation of graph-tool on Ubuntu 15.04

2015-07-16 Thread Tiago de Paula Peixoto
On 15.07.2015 13:59, François wrote: The warning causes apt-get update to return a non-zero code. This sitaution is problematic to me, would it be possible to fix this problem ? This should be fixed now. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description

Re: [graph-tool] About the usage of weights in shortest_path

2015-07-15 Thread Tiago de Paula Peixoto
to examine each and any edge when the weight parameter is provided. What is the point of this behavior ? what do I miss ? There might be parallel edges with different weights. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] shortest_path and pred_map

2015-07-09 Thread Tiago de Paula Peixoto
for target. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Installation of graph-tool on Ubuntu 15.04

2015-07-08 Thread Tiago de Paula Peixoto
://downloads.skewed.de/apt/stretch/dists/stretch/main/binary-amd64/Packages 404 Not Found These are just warnings; it should not affect the installation of the package. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] Installation of graph-tool on Ubuntu 15.04

2015-07-07 Thread Tiago de Paula Peixoto
, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Building graph-tool on CentOS 7

2015-06-27 Thread Tiago de Paula Peixoto
-tool binaries with ldd, and also check the output of configure.log, for more information of what library it is being used. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool

Re: [graph-tool] Load graph from csv

2015-06-27 Thread Tiago de Paula Peixoto
? Yes, use g.add_edge_list() for the edges, and put the weights separately via the array interface for property maps: e_weight.a = weight_list The weight list should have the same ordering as the edges you passed to g.add_edge_list(). Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de

Re: [graph-tool] Python 2 compatibility

2015-06-22 Thread Tiago de Paula Peixoto
that if you want to do this type of visualization, it can be done most easily now with the draw_hierarchy() function: https://graph-tool.skewed.de/static/doc/draw.html#graph_tool.draw.draw_hierarchy Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP

Re: [graph-tool] How to increase canvas size?

2015-06-21 Thread Tiago de Paula Peixoto
, try passing the correct suffix value to --with-boost-python. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman

Re: [graph-tool] Installing graph tool in cygwin

2015-06-17 Thread Tiago de Paula Peixoto
. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Installation of graph-tool on Ubuntu 15.04

2015-06-17 Thread Tiago de Paula Peixoto
, do I need to move to unstable? Hm, it seems that it is a mistake on my part: I've built packages for testing, which is now called 'stretch', not 'jessie'. I'll fix this in the repository. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital

Re: [graph-tool] Understanding avg_neighbour_corr

2015-06-05 Thread Tiago de Paula Peixoto
* This is trivial, just compute the avg_neighbour_corr with the reversed graph: avg_neighbour_corr(GraphView(g, reversed=True), in, out) Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] How to control the orientation of the graph topology

2015-06-05 Thread Tiago de Paula Peixoto
text shown in a correct orientation. Thanks a lot. I'm not sure I understand. Can you provide an example? Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo

Re: [graph-tool] How to control the orientation of the graph topology

2015-06-05 Thread Tiago de Paula Peixoto
, I've never encountered this problem before, and I don't know what may be causing it. Without a concrete example, I cannot investigate. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de ___ graph-tool mailing list graph-tool@skewed.de http

Re: [graph-tool] Unexpected python quit after edge-weighted block model minimisation

2015-06-03 Thread Tiago de Paula Peixoto
network. Thanks for this. I have now fixed the bug in git. I'll make a new release soon with this fix. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool

Re: [graph-tool] Unexpected python quit after edge-weighted block model minimisation

2015-06-01 Thread Tiago de Paula Peixoto
, eweight=g.edge_properties[weight], multigraph = True) This looks like a bug. Can you please also change the network which you are using, so I can debug it? Thanks! Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] graph_tool.spectral.adjacency() returns the transpose of the adjacency of a directed graph

2015-05-31 Thread Tiago de Paula Peixoto
convenient mathematically. See for instance Mark Newman's book. In any case, this an unimportant issue. A matrix transpose can be obtained trivially in numpy. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] graph_tool.spectral.adjacency() returns the transpose of the adjacency of a directed graph

2015-05-31 Thread Tiago de Paula Peixoto
that the documentation of the other spectral functions were inconsistent with this definition. I have fixed it now: https://graph-tool.skewed.de/static/doc/dev/spectral.html#graph_tool.spectral.adjacency Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital

Re: [graph-tool] vertex.in_edges() on undirected graphs throws a segmentation fault

2015-05-30 Thread Tiago de Paula Peixoto
-- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Accessing property array containing string

2015-05-29 Thread Tiago de Paula Peixoto
be a vector Best, Taigo -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] vertex.in_edges() on undirected graphs throws a segmentation fault

2015-05-29 Thread Tiago de Paula Peixoto
On 29.05.2015 17:28, Smith, Steven - 1004 - MITLL wrote: This is python 2.7 and graph-tool 2.2.38_0 This has already been fixed. Please update to the latest version. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] How to increase canvas size?

2015-05-27 Thread Tiago de Paula Peixoto
things properly but it does not seem to change anything. Indeed there seems to be a bug with the fit_view option. I'll provide a fix. In the meantime, the best approach would be to set fit_view=False, and scale your vertex positions accordingly. Best, Tiago -- Tiago de Paula Peixoto ti

Re: [graph-tool] bfs_search performance on big graphs

2015-05-15 Thread Tiago de Paula Peixoto
bfs_search(). (Note that both these functions use BFS internally, but without Python interference.) Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool

Re: [graph-tool] Degree Centrality

2015-05-14 Thread Tiago de Paula Peixoto
On 14.05.2015 21:42, dushyanthbn wrote: Is degree centrality available in graph tool? Of course. The degree centrality is just the degree of the node. -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] Remove an edge with a property

2015-05-07 Thread Tiago de Paula Peixoto
/util.html#graph_tool.util.find_edge Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] random_graph function crashes python

2015-05-07 Thread Tiago de Paula Peixoto
of weights on each node to be a fixed quantity, you have to use parallel edges (or write your own code for weighted edges). Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool

Re: [graph-tool] Porting to Windows

2015-05-07 Thread Tiago de Paula Peixoto
it is stable enough. I get no segfaults with the git version. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman

Re: [graph-tool] Visualise categorical attributes read from graphml files (beginner)

2015-05-04 Thread Tiago de Paula Peixoto
would access them as: g = load_graph(mygraph.xml) size = g.vp[size] # print all sizes for v in g.vertices(): print(size[v]) See https://graph-tool.skewed.de/static/doc/quickstart.html#property-maps for more information. Best, Tiago -- Tiago de Paula Peixoto ti

Re: [graph-tool] update graph draw in a thread

2015-04-29 Thread Tiago de Paula Peixoto
a good way to update the drawing? thanks a lot! Gtk+ and cairo are not thread safe like this! You need to call all drawing commands from the same thread if they share some state. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] efficiency of graph creation

2015-04-29 Thread Tiago de Paula Peixoto
the mapping to ints, but to iterate only through the individual objects. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de

Re: [graph-tool] Average calculation from vectordouble property

2015-04-27 Thread Tiago de Paula Peixoto
On 27.04.2015 16:29, Tiago de Paula Peixoto wrote: On 27.04.2015 00:31, desert_rain wrote: Hi, I am using graph-tool for my research, thanks for creating graph-tool. I need to calculate average values from vertex and edge properties. Property types are vectordouble. When I use

Re: [graph-tool] Average calculation from vectordouble property

2015-04-27 Thread Tiago de Paula Peixoto
can I calculate averages from vector property? Right now you can't, because the sum of two vectors is not defined. You have to split the vector into two property maps with ungroup_vector_property() and calculate the averages separately. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de

Re: [graph-tool] MAKE failure in CentOS

2015-04-22 Thread Tiago de Paula Peixoto
On 22.04.2015 20:01, Jose Albornoz wrote: Hi there. I am trying to install Graph-tool on a Linux server with CentOS 6.6, gcc 4.7.2, Boost 1.58.0. As is stated in the website, you need GCC 4.8 or later. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description

Re: [graph-tool] weird in deleting vertices and edges

2015-04-21 Thread Tiago de Paula Peixoto
... Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] weird in deleting vertices and edges

2015-04-20 Thread Tiago de Paula Peixoto
if you uncomment the lines, and it might cause problems. Don't do that; store the edges in a list first. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph

Re: [graph-tool] Undefined symbol drawing function

2015-04-20 Thread Tiago de Paula Peixoto
? In any case, if you are getting these missing symbols, something has gone seriously wrong during compilation. Could you please send the entire output of the configure command, as well as the config.log file? Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description

Re: [graph-tool] mayavi with graph-tool

2015-04-19 Thread Tiago de Paula Peixoto
the graph_tool.draw module. Simply avoid doing from graph_tool.all import * and import only the submodules you need. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph

Re: [graph-tool] Mutliple destination Shortest Path Dijkstra

2015-04-19 Thread Tiago de Paula Peixoto
On 19.04.2015 20:40, François Kawala wrote: I did try to compile my fork, however it fails in a file that I didn't modified: graph_blockmodel_covariates. This is a bug when sparse_hash is not enabled. I have fixed it now in git. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de

Re: [graph-tool] Mutliple destination Shortest Path Dijkstra

2015-04-15 Thread Tiago de Paula Peixoto
/tutorial/doc/html/python/exposing.html However, in this case a much more straightforward approach is to receive any python iterable (a generic boost::python::object in C++), and convert it to an unordered_set in C++, before the algorithm is run. Best, Tiago -- Tiago de Paula Peixoto ti

Re: [graph-tool] Mutliple destination Shortest Path Dijkstra

2015-04-14 Thread Tiago de Paula Peixoto
difficult.) Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Mutliple destination Shortest Path Dijkstra

2015-04-13 Thread Tiago de Paula Peixoto
On 13.04.2015 20:23, François Kawala wrote: I guess that I should update accordingly the *get_dists *function. Should I submit a pull request once that done ? Sure, but be careful not to compromise the performance in the case where there is only a single target. Best, Tiago -- Tiago de

Re: [graph-tool] unable to load pgp.xml

2015-04-13 Thread Tiago de Paula Peixoto
gt_bench.py to test performance Do you use firefox? This might be due to a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=610679 The file is downloaded correctly if I use wget. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] Python-C++ interface tutorial?

2015-04-08 Thread Tiago de Paula Peixoto
On 06.04.2015 11:14, Guillaume Gay wrote: Hope your talk is filmed! Any plan to come to EuroScipPy? I don't think I will be able to... Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] Point Lables

2015-03-27 Thread Tiago de Paula Peixoto
On 28.03.2015 01:13, Johann wrote: Tiago de Paula Peixoto tiago at skewed.de writes: On 06.03.2015 01:20, dartdog wrote: In doing visual exploration it is way helpful to be able to see the properties of a point in a cluster.. The pretty graphs alone are not so helpful? You can place

Re: [graph-tool] Shortest_distance complexity when used with max_dist

2015-03-08 Thread Tiago de Paula Peixoto
ns, total: 270 ms Wall time: 260 ms Which is around 10 times slower... So thing are indeed faster if max_dist is specified, but the algorithm will still depend on the total size of the graph. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital

Re: [graph-tool] Shortest_distance complexity when used with max_dist

2015-03-06 Thread Tiago de Paula Peixoto
it is not possible to distinguish between O(V), O(V log V), O(V ^ 2) or anything else. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http

Re: [graph-tool] Point Lables

2015-03-06 Thread Tiago de Paula Peixoto
) where 'labels' is some property map. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Networkx VS graph-tool

2015-02-25 Thread Tiago de Paula Peixoto
are clearly not isomorphic. Do you know if this is the case for your graphs? What happens to the time difference if all the graphs tested are isomorphic? I can easily implement these shortcuts in graph-tool as well, if they happen to be the source of the discrepancy. Best, Tiago -- Tiago de Paula

Re: [graph-tool] sfdp_layout force parameters

2015-02-25 Thread Tiago de Paula Peixoto
to be closer in the layout. When you leave 'groups' alone, but change 'mu', the effect is that you add an additional global _attractive_ force between all nodes in the graph, and hence you get the effect you are seeing: A reduced clustering. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de

Re: [graph-tool] Python-C++ interface tutorial?

2015-02-18 Thread Tiago de Paula Peixoto
, but this is difficult since I don't even have Mac OS or Windows installed anywhere. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http

Re: [graph-tool] Button listeners - a simple way to do it

2015-02-13 Thread Tiago de Paula Peixoto
On 11.02.2015 13:57, podro182 wrote: Thank you very much for your reply! I cannot find the demo though! What do you mean? It is in the link I gave you: https://graph-tool.skewed.de/static/doc/dev/demos/animation.html#interactive-visualizations Best, Tiago -- Tiago de Paula Peixoto ti

Re: [graph-tool] isomorphic mapping

2015-02-04 Thread Tiago de Paula Peixoto
be prepared to explain your problem in detail. Asking one-line questions about how to do this or that, specially when the task in question is documented, is not going to elicit detailed responses. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital

Re: [graph-tool] python3 version missing for 14.10 utopic

2015-01-31 Thread Tiago de Paula Peixoto
was not uploaded. It is available now. Thanks for the heads-up! Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman

Re: [graph-tool] segmentation fault in PyInit_libgraph_tool_generation () at graph_generation.cc:99

2015-01-29 Thread Tiago de Paula Peixoto
On 29.01.2015 10:31, graph-t...@v6y.net wrote: Quoting Tiago de Paula Peixoto (2015-01-29 01:14:36) Is the GDB backtrace the same as before? Is the missing symbol also the same? Yes, with the patch applied, and sparsehash enabled, the backtrace is the same (minor change in the segfault

Re: [graph-tool] subgraph_isomorphism (getting values)

2015-01-29 Thread Tiago de Paula Peixoto
by the subgraph_isomorphism() function are vertex indexes. You can get a vertex object corresponding to an index as follows: v = g.vertex(idx) where 'idx' is the index value. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] segmentation fault in PyInit_libgraph_tool_generation () at graph_generation.cc:99

2015-01-28 Thread Tiago de Paula Peixoto
On 28.01.2015 10:26, graph-t...@v6y.net wrote: Quoting Tiago de Paula Peixoto (2015-01-28 02:11:19) Do you have sparsehash enabled? sparsehash 2.0.2 is installed at: /usr/include/sparsehash and the graph-tool configure log indicates it found it: checking whether to enable sparsehash

Re: [graph-tool] segmentation fault in PyInit_libgraph_tool_generation () at graph_generation.cc:99

2015-01-28 Thread Tiago de Paula Peixoto
only. Same issue. Do you have sparsehash enabled? -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] segmentation fault in PyInit_libgraph_tool_generation () at graph_generation.cc:99

2015-01-28 Thread Tiago de Paula Peixoto
On 28.01.2015 19:42, graph-t...@v6y.net wrote: Quoting Tiago de Paula Peixoto (2015-01-28 04:47:21) Can you try disabling sparsehash, with --disable-sparsehash, and see if the problem persists? This should get rid of any tr1 references. That did it! $/usr/bin/python3.3 -c 'import

Re: [graph-tool] Button listeners - a simple way to do it

2015-01-25 Thread Tiago de Paula Peixoto
: https://graph-tool.skewed.de/static/doc/dev/demos/animation.html#interactive-visualizations Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool

Re: [graph-tool] segmentation fault in PyInit_libgraph_tool_generation () at graph_generation.cc:99

2015-01-23 Thread Tiago de Paula Peixoto
-tool. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] problem in import graph-tool

2015-01-22 Thread Tiago de Paula Peixoto
the full output and logs from the port install command. But since you are using macports, you are better off opening a ticket at their website. They are usually quick to respond: https://trac.macports.org/newticket Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc

Re: [graph-tool] problem in import graph-tool

2015-01-22 Thread Tiago de Paula Peixoto
by itself does not say much... I recommend you install graph-tool with macports, since it requires less manual intervention. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool

Re: [graph-tool] problem in import graph-tool

2015-01-22 Thread Tiago de Paula Peixoto
-- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] A paper using graph-tool published in Nature!

2015-01-22 Thread Tiago de Paula Peixoto
, thanks a lot for your work! Best, Guillaume ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] problem in import graph-tool

2015-01-22 Thread Tiago de Paula Peixoto
On 22.01.2015 15:50, malwanain wrote: Thank, just quick question, does this tool graph-tool able to check the isomorphism of graphs which written in .dot(graphviz) which produced from other tool? Yes. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description

Re: [graph-tool] graph-tool-2.2.36 - python -c 'from graph_tool.all import *': ImportError undefined symbol

2015-01-19 Thread Tiago de Paula Peixoto
is to install two versions of each library. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] graph-tool-2.2.36 - python -c 'from graph_tool.all import *': ImportError undefined symbol

2015-01-18 Thread Tiago de Paula Peixoto
the option --with-boost-python=-3-mt to the configure script, telling it what suffix should be used. There is no standard naming across systems, and the configure script tries some common ones, but it seems to be failing in this case. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de

Re: [graph-tool] Retrieve the graph neighborhood around a set of vertices

2015-01-13 Thread Tiago de Paula Peixoto
#graph_tool.topology.shortest_distance -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] Installation Issues on Debian Wheezy

2015-01-09 Thread Tiago de Paula Peixoto
. On an unrelated note: thanks for graph-tool! It is well-crafted and has brought me much joy :) You're welcome! Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool

Re: [graph-tool] release request

2015-01-08 Thread Tiago de Paula Peixoto
of a November release but it looks like that didn't work out (no worries, things come up) so I thought I'd ping again. A release has finally been made! Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] Lattice layout

2014-12-18 Thread Tiago de Paula Peixoto
= g.new_vertex_property(double) y = g.new_vertex_property(double) x.a = idx.a % 50 y.a = idx.a // 50 pos = group_vector_property([x,y]) graph_draw(g, pos) Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature

Re: [graph-tool] make build error in Graphtool

2014-12-10 Thread Tiago de Paula Peixoto
. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] make build error in Graphtool

2014-12-10 Thread Tiago de Paula Peixoto
is it the right way? No, you have to run 'make install'. Read the documentation in the CGAL website. 2. I set environment variable: CXXFLAGS=-L/usr/include is it ok? This is OK, but totally unnecessary. Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP

Re: [graph-tool] make build error in Graphtool

2014-12-09 Thread Tiago de Paula Peixoto
configuration? Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool

Re: [graph-tool] rpm spec

2014-12-08 Thread Tiago de Paula Peixoto
/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 cairommconfig.h is included, when the correct path is cairomm/cairommconfig.h. For me the cairommconfig.h file is included in /usr/lib/cairomm-1.0/include/cairommconfig.h so, the is no cairomm prefix... Best, Tiago -- Tiago de

Re: [graph-tool] Problems in bellman_ford_search (OverflowError and TypeError)

2014-12-08 Thread Tiago de Paula Peixoto
an integer-valued map, you should use something like infinity=((1 31) - 1). Best, Tiago -- Tiago de Paula Peixoto ti...@skewed.de signature.asc Description: OpenPGP digital signature ___ graph-tool mailing list graph-tool@skewed.de http

<    4   5   6   7   8   9   10   11   12   >