Questions tagged as 'grafo'

0
answers

get.shortest.paths in temporal graph

I'm using the "igraph" library and I'm working with dynamic graphs. I have the following graph: VertexFrom VertexTo TimeStart TimeStop a c 1 1 a 2 2 b d 2 2 c d 3 3 d b 3 3 That is, v1 is connected to v2 at time x to y. E...
asked by 18.11.2016 / 21:48
0
answers

Help with using the igraph library and timeorded in R

I'm using lib 'igraph' and 'timeorded' ( link ) to work with temporal graphs. I have the following temporal graph: "graph.txt": a c 1 1 a d 2 2 b d 2 2 c d 3 3 d b 3 3 Mycode:library(igraph)library(plyr)library(timeordered)g<-read....
asked by 17.11.2016 / 00:32
1
answer

Is graphical interface APIs available for graphs on android?

I searched a lot for the internet but found nothing correspondent in Portuguese and in English I found some things but without resolution about it.  Does anyone have any knowledge about the existence of a graphical interface API to represent and...
asked by 16.11.2015 / 23:39
1
answer

How to check if the value of a key exists on a map in c ++

I'm doing a TAD of graphs and I use a map structure to map the ID of a vertex to its index in the adjacency array and to do that I need to first check if given the vertex id it's already added to the graph, so how can I check if there is a mappe...
asked by 02.07.2017 / 23:59
1
answer

What software to use to generate an image of a giant graph?

I have a program in c ++, done with the representation of graphs with adjacency list, however, there are more than 2 million nodes in it. Is there any software that has a text format, which I can generate from my program, and import into that so...
asked by 29.05.2018 / 21:56
1
answer

Change color of a node in a graph of Neo4J

I created an example graph in Neo4J with one parent and two children. I would like to know how to change the color of all nodes that have level equal to 1. WhenIclickonthenodeitappearsatthebottomtomodifythesizeandcolorbutthechangeaffectsalla...
asked by 26.07.2017 / 19:38
0
answers

Ford-Fulkerson Python Algorithm

I'm doing a college job where I need to implement the Ford-Fulkerson algorithm in Python. But I'm having a hard time finding a way up in the residual graph (path function). I do not know if it is the recursion that is not working, or the for. I'...
asked by 11.12.2018 / 19:38
1
answer

Read a text file and separate content into variables

I'm having a question on how to split information from a text file into variables in C. Example, I have a txt file with the following data: 3 2 A D E AD DE I would like to read this file, and separate each information into a variable, for e...
asked by 11.12.2018 / 13:47
0
answers

Read a file from a graph and represent it in adjacency matrix format

I need to read a file that contains information from a directed graph and build an adjacency matrix of it. The array must contain 1 in the position that there is a loop and 0 in the one that does not exist. The file is in the DIMACS standards an...
asked by 17.11.2018 / 20:39
1
answer

Problem Related to graphs

I am doing this question in URI Online Judge . I'm trying with DFS, but by now I did not get anything. I put a variable to mark it up to the level it goes and when it reaches that level it comes back, but it is returning the wrong outputs...
asked by 14.09.2018 / 14:19