prompts
stringlengths
279
11.1k
answers
stringlengths
1
254
tasks
stringclasses
47 values
The task is to determine the diameter of a graph. The diameter of a graph is the longest shortest path between any two nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and 13. The graph con...
6
graph_diameter
The task is to determine the degree centrality of a node in the graph. The degree centrality values are normalized by dividing by the maximum possible degree in a graph. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, a...
0.125
graph_degree_centrality
The task is to determine the transitivity of a graph. Transitivity is the ratio of the number of triangles in the graph to the number of connected triples of nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, and 5. The graph conta...
0
graph_transitivity
The task is to determine the dominating set of a graph. A dominating set is a subset of nodes such that every node in the graph is either in the set or adjacent to a node in the set. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6...
[1,3,4]
graph_dominating_set
The task is to determine the degree of a node in the graph. For the undirected graph, you should count the edge between two nodes only once. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,...
13
graph_degree
The task is to determine the number of nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12. The graph contains edges: (1, 11), (1, 12), (1, 5), (3, 11), (7, 11), (11, 12), (3, 12), (5, 12),...
12
graph_node_number
The task is to determine the betweenness centrality of a node in the graph. Betweenness centrality of a node u is the sum of the fraction of all-pairs shortest paths that pass through u. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, ...
0.04032258064516129
graph_betweenness_centrality
The task is to determine the radius of a graph. The radius of a graph is the minimum eccentricity of any node in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, and 5. The graph contains edges: (1, 3), (2, 3), (2, 4), (4, 5)...
2
graph_radius
The task is to determine if the graph is bipartite. A bipartite graph is a graph whose nodes can be divided into two disjoint sets such that no two graph vertices within the same set are adjacent. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes...
Yes
graph_is_bipartite
The task is to determine the betweenness centrality of a node in the graph. Betweenness centrality of a node u is the sum of the fraction of all-pairs shortest paths that pass through u. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, ...
0.0
graph_betweenness_centrality
The task is to determine the average degree of the neighbors of a node in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, and 23. The graph contains edges: (...
3.8
graph_avg_neighbor_degree
The task is to determine the global efficiency of a graph. Global efficiency is the average of the inverse shortest path lengths between all pairs of nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10...
0.2133333333333333
graph_global_efficiency
The task is to determine the degree centrality of a node in the graph. The degree centrality values are normalized by dividing by the maximum possible degree in a graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10...
0.09523809523809523
graph_degree_centrality
The task is to determine the minimum edge covering of a graph. An edge cover is a set of edges such that every vertex in the graph is incident to at least one edge in the set. The minimum edge cover is the edge cover with the smallest number of edges. Here is an undirected graph. In the graph, (u, v) means that node u...
[(3,2),(4,1),(5,3),(7,9),(8,6)]
graph_min_edge_covering
The task is to determine the center of a graph. The center of a graph includes the node that minimizes the maximum distance to all other nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, and 8. The graph contains edges: (...
[1,4,5,6,7,8]
graph_center
The task is to determine the betweenness centrality of a node in the graph. Betweenness centrality of a node u is the sum of the fraction of all-pairs shortest paths that pass through u. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, ...
0.008547008547008548
graph_betweenness_centrality
The task is to determine the global efficiency of a graph. Global efficiency is the average of the inverse shortest path lengths between all pairs of nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10...
0.7705314009661832
graph_global_efficiency
The task is to determine the density of the graph. Density is defined as the ratio of the number of edges in the graph to the number of possible edges. For undirected graphs, the density is 2*m/(n*(n-1)), where m is the edge number and n is the node number. For directed graphs, the density is m/(n*(n-1)). Here is an u...
0.14619883040935672
graph_density
The task is to determine the center of a graph. The center of a graph includes the node that minimizes the maximum distance to all other nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, and 15. ...
[1,8]
graph_center
The task is to determine the density of the graph. Density is defined as the ratio of the number of edges in the graph to the number of possible edges. For undirected graphs, the density is 2*m/(n*(n-1)), where m is the edge number and n is the node number. For directed graphs, the density is m/(n*(n-1)). Here is an u...
0.22794117647058823
graph_density
The task is to determine the betweenness centrality of a node in the graph. Betweenness centrality of a node u is the sum of the fraction of all-pairs shortest paths that pass through u. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, ...
0.03676470588235294
graph_betweenness_centrality
The task is to determine the harmonic centrality of a node in the graph. Harmonic centrality of a node u is the sum of the reciprocal of the shortest path distances from all other nodes to u (direction is not considered for undirected graphs). Here is an undirected graph. In the graph, (u, v) means that node u and nod...
4.053571428571429
graph_harmonic_centrality
The task is to determine the density of the graph. Density is defined as the ratio of the number of edges in the graph to the number of possible edges. For undirected graphs, the density is 2*m/(n*(n-1)), where m is the edge number and n is the node number. For directed graphs, the density is m/(n*(n-1)). Here is an u...
0.3111111111111111
graph_density
The task is to find all bridges of a graph. A bridge is an edge in a graph whose removal increases the number of connected components. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, and 1...
[(2,7),(2,11),(3,16),(7,8),(9,16),(10,12)]
graph_bridges
The task is to determine the resource allocation index of two nodes in a graph. The resource allocation index of two nodes is the sum of the inverse of the degrees of the common neighbors of the two nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains ...
0
graph_resource_allocation_index
The task is to determine the Jaccard coefficient of two nodes in a graph. The Jaccard coefficient is the size of the intersection divided by the size of the union of the neighbors of the two nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1...
0.0
graph_jaccard_coefficient
The task is to determine the minimum vertex cover of a graph. A vertex cover is a set of nodes such that every edge in the graph is incident to at least one node in the set. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, and 5. The gr...
[1,2,3]
graph_min_vertex_cover
The task is to determine the number of weakly connected components in a directed graph. A weakly connected component is a maximal subgraph where every node is reachable from every other node when ignoring the direction of edges. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to ...
3
graph_weakly_connected_number
The task is to determine the global efficiency of a graph. Global efficiency is the average of the inverse shortest path lengths between all pairs of nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10...
0.2147502775002775
graph_global_efficiency
The task is to find the number of triangles that include a specific node as one vertex. A triangle is a set of three nodes that are all connected to each other. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,...
4
graph_triangles
The task is to determine the number of nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, and 19. The graph contains edges: (1, 3), (1, 4), (3, 4), (3, 5), (2, 5), (6,...
19
graph_node_number
The task is to determine the degree assortativity coefficient of a graph. The degree assortativity coefficient is a measure of the correlation between the degrees of connected nodes. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, ...
-0.20284128273445406
graph_degree_assortativity
The task is to determine common neighbors between two nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12. The graph contains edges: (1, 3), (1, 4), (1, 11), (1, 9), (2, 3), (3, 4), (3, 11)...
[11]
graph_common_neighbor
The task is to determine the global efficiency of a graph. Global efficiency is the average of the inverse shortest path lengths between all pairs of nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10...
0.17534769463340905
graph_global_efficiency
The task is to determine the radius of a graph. The radius of a graph is the minimum eccentricity of any node in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, ...
5
graph_radius
The task is to determine the average degree of the neighbors of a node in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, and 5. The graph contains edges: (1, 5), (1, 2), (4, 5), (2, 4), (3, 4). Question: What is the averag...
2.0
graph_avg_neighbor_degree
The task is to determine the number of edges in the graph. For the undirected graph, you should count the edge between two nodes only once. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, and 5. The graph contains edges: (1, 4), (2, 4)...
5
graph_edge_number
The task is to find the number of triangles that include a specific node as one vertex. A triangle is a set of three nodes that are all connected to each other. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,...
0
graph_triangles
The task is to determine the dominating set of a graph. A dominating set is a subset of nodes such that every node in the graph is either in the set or adjacent to a node in the set. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6...
[1,5,6,7,9]
graph_dominating_set
The task is to determine the number of edges in the graph. For the undirected graph, you should count the edge between two nodes only once. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, and 15. The ...
28
graph_edge_number
The task is to determine if the graph is Eulerian. An Eulerian graph is a graph that contains an Eulerian circuit, which is a cycle that visits every edge exactly once. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,...
No
graph_is_eularian
The task is to determine the minimum edge covering of a graph. An edge cover is a set of edges such that every vertex in the graph is incident to at least one edge in the set. The minimum edge cover is the edge cover with the smallest number of edges. Here is an undirected graph. In the graph, (u, v) means that node u...
[(3,4),(6,3),(7,5),(8,1),(10,16),(11,12),(14,13),(15,9),(18,17),(19,20),(23,21),(24,22),(25,27),(27,2),(28,26)]
graph_min_edge_covering
The task is to determine the number of nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, and 32. The graph contain...
32
graph_node_number
The task is to find all bridges of a graph. A bridge is an edge in a graph whose removal increases the number of connected components. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, and 6. The graph contains edges: (1, 6), (1, 5), ...
[(1,5),(1,6),(2,4),(3,4),(3,6)]
graph_bridges
The task is to determine common neighbors between two nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, and 27. The graph contains edg...
[9,27]
graph_common_neighbor
The task is to determine the breadth-first search (BFS) traversal order given a starting node. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10. The graph contains edges: (1, 3), (1, 4), (3, 9), (4, 7), (2, 8), (7,...
[(3,1),(3,9),(1,4),(9,5),(4,7),(5,10),(7,8),(10,6),(8,2)]
graph_bfs
The task is to determine the center of a graph. The center of a graph includes the node that minimizes the maximum distance to all other nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, ...
[1,2,5,6,8,9,10,11,15,16,19,20,21,22,23,26,27,28,30,31,32]
graph_center
The task is to determine the breadth-first search (BFS) traversal order given a starting node. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, and 2...
[(26,8),(26,24),(26,25),(8,1),(24,17),(1,2),(1,3),(1,5),(1,6),(1,7),(17,23),(2,4),(3,9),(3,10),(3,11),(5,13),(23,21),(4,12),(9,14),(9,15),(11,16),(11,20),(14,18),(14,19),(20,27),(18,28),(27,22)]
graph_bfs
The task is to determine the breadth-first search (BFS) traversal order given a starting node. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, and 20. The graph contains edges: (1,...
[(11,2),(11,3),(11,4),(11,9),(11,10),(2,1),(2,5),(4,7),(9,20),(1,8),(5,12),(20,17),(20,19),(8,13),(12,14),(13,18),(14,6),(6,15),(6,16)]
graph_bfs
The task is to determine if there is a triangle in the graph that includes a specific node. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, and 20. The graph contains edges: (1, 2)...
Yes
graph_triangle_detection
The task is to determine the periphery of a graph. The periphery of a graph is the set of nodes that are farthest from the center of the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, ...
[12,16,17,29]
graph_periphery
The task is to determine common neighbors between two nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12. The graph contains edges: (1, 2), (1, 4), (1, 5), (2, 4), (2, 5), (4, 9), (4, 10),...
[1]
graph_common_neighbor
The task is to determine the minimum vertex cover of a graph. A vertex cover is a set of nodes such that every edge in the graph is incident to at least one node in the set. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9...
[1,2,3,4,5,6,7,9,10,11]
graph_min_vertex_cover
The task is to determine the radius of a graph. The radius of a graph is the minimum eccentricity of any node in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, and 9. The graph contains edges: (1, 3), (1, 9), (3...
3
graph_radius
The task is to determine if the graph is Eulerian. An Eulerian graph is a graph that contains an Eulerian circuit, which is a cycle that visits every edge exactly once. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, and 5. The gra...
Yes
graph_is_eularian
The task is to determine if there is a triangle in the graph that includes a specific node. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, and 16. The graph contains edges: (1, 2), (1, 3), (1, 4)...
Yes
graph_triangle_detection
The task is to determine the maximal independent set guaranteed to contain a given node in the graph. An independent set is a set of nodes such that the subgraph induced by these nodes contains no edges. A maximal independent set is an independent set such that it is not possible to add a new node and still get an ind...
[1,5,8,9,13,16,17,18,19,21,23,24,25,27,30,31]
graph_maximal_independent_set
The task is to determine the effective size of a node in a graph. The effective size of a node is the number of nodes that are not directly connected to it, but are connected to its neighbors. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1,...
2.0
graph_effective_size
The task is to determine the maximal independent set guaranteed to contain a given node in the graph. An independent set is a set of nodes such that the subgraph induced by these nodes contains no edges. A maximal independent set is an independent set such that it is not possible to add a new node and still get an ind...
[1,5,7]
graph_maximal_independent_set
The task is to determine the transitivity of a graph. Transitivity is the ratio of the number of triangles in the graph to the number of connected triples of nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,...
0.5783132530120482
graph_transitivity
The task is to determine the minimum spanning tree of a graph. A minimum spanning tree is a subset of the edges that connects all vertices in the graph with the minimum possible total edge weight. If not specified, all edges have equal edge weights Here is an undirected graph. In the graph, (u, v) means that node u an...
[(1,3),(1,7),(2,5),(2,29),(3,27),(4,16),(4,19),(5,10),(6,14),(6,15),(6,27),(7,16),(8,21),(9,16),(9,18),(9,26),(10,23),(11,26),(11,28),(12,29),(12,31),(13,18),(14,25),(15,20),(15,21),(16,29),(17,23),(17,24),(18,32),(22,25),(22,30)]
graph_minimum_spanning_tree
The task is to determine if the graph is Eulerian. An Eulerian graph is a graph that contains an Eulerian circuit, which is a cycle that visits every edge exactly once. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, 5, and 6. The ...
Yes
graph_is_eularian
The task is to determine the resource allocation index of two nodes in a graph. The resource allocation index of two nodes is the sum of the inverse of the degrees of the common neighbors of the two nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains ...
0
graph_resource_allocation_index
The task is to determine the maximal independent set guaranteed to contain a given node in the graph. An independent set is a set of nodes such that the subgraph induced by these nodes contains no edges. A maximal independent set is an independent set such that it is not possible to add a new node and still get an ind...
[1,8,9,11]
graph_maximal_independent_set
The task is to determine the barycenter of a graph. The barycenter of a graph is also called the median. It includes the node that minimizes the sum of distances to all other nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6,...
[1]
graph_barycenter
The task is to determine the constraint of a node in a graph. The constraint of a node is a measure of how much the node is constrained by its neighbors. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14...
0.5
graph_constraint
The task is to determine the periphery of a graph. The periphery of a graph is the set of nodes that are farthest from the center of the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, and 11. The graph contai...
[1,7,9,11]
graph_periphery
The task is to determine the number of edges in the graph. For the undirected graph, you should count the edge between two nodes only once. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, and 15. The ...
20
graph_edge_number
The task is to determine the dominating set of a graph. A dominating set is a subset of nodes such that every node in the graph is either in the set or adjacent to a node in the set. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6...
[1,3,4,5,9,12,15,27,28,29,32,34]
graph_dominating_set
The task is to determine if the directed graph is strongly connected. A directed graph is strongly connected if there is a directed path between every pair of vertices. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9,...
Yes
graph_is_strongly_connected
The task is to determine the maximal independent set guaranteed to contain a given node in the graph. An independent set is a set of nodes such that the subgraph induced by these nodes contains no edges. A maximal independent set is an independent set such that it is not possible to add a new node and still get an ind...
[2,3,4,7,8,11]
graph_maximal_independent_set
The task is to determine if the graph is Eulerian. An Eulerian graph is a graph that contains an Eulerian circuit, which is a cycle that visits every edge exactly once. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,...
No
graph_is_eularian
The task is to determine the diameter of a graph. The diameter of a graph is the longest shortest path between any two nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10. The graph contains edges:...
3
graph_diameter
The task is to determine the harmonic centrality of a node in the graph. Harmonic centrality of a node u is the sum of the reciprocal of the shortest path distances from all other nodes to u (direction is not considered for undirected graphs). Here is an undirected graph. In the graph, (u, v) means that node u and nod...
4.8999999999999995
graph_harmonic_centrality
The task is to determine the topological sort of a directed acyclic graph (DAG). Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, 5, 6, and 7. The graph contains edges: (1, 4), (2, 4), (2, 1), (3, 5), (5, 7), (7, 2), (6, 3). Questi...
[6,3,5,7,2,1,4]
graph_topological_sort
The task is to determine the radius of a graph. The radius of a graph is the minimum eccentricity of any node in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, ...
5
graph_radius
The task is to determine if the directed graph is strongly connected. A directed graph is strongly connected if there is a directed path between every pair of vertices. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9,...
No
graph_is_strongly_connected
The task is to determine the maximal independent set guaranteed to contain a given node in the graph. An independent set is a set of nodes such that the subgraph induced by these nodes contains no edges. A maximal independent set is an independent set such that it is not possible to add a new node and still get an ind...
[3,6,14,15]
graph_maximal_independent_set
The task is to determine the number of edges in the graph. For the undirected graph, you should count the edge between two nodes only once. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, and 2. The graph contains edges: (1, 2). Question: ...
1
graph_edge_number
The task is to determine common neighbors between two nodes in the graph. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, and 15. The graph contains edges: (1, 2), (1, 3), (1, 4), (1, 9), (1, 10), (2,...
[2,7]
graph_common_neighbor
The task is to determine the effective size of a node in a graph. The effective size of a node is the number of nodes that are not directly connected to it, but are connected to its neighbors. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, ...
1.0
graph_effective_size
The task is to determine the constraint of a node in a graph. The constraint of a node is a measure of how much the node is constrained by its neighbors. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14...
0.4722666666666667
graph_constraint
The task is to determine the number of strongly connected components in a directed graph. A strongly connected component is a maximal subgraph where every node is reachable from every other node. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes:...
6
graph_strongly_connected_number
The task is to determine the minimum vertex cover of a graph. A vertex cover is a set of nodes such that every edge in the graph is incident to at least one node in the set. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9...
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23]
graph_min_vertex_cover
The task is to determine if there is a triangle in the graph that includes a specific node. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, and 19. The graph contains edges: (1, 10), (...
Yes
graph_triangle_detection
The task is to determine the number of weakly connected components in a directed graph. A weakly connected component is a maximal subgraph where every node is reachable from every other node when ignoring the direction of edges. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to ...
1
graph_weakly_connected_number
The task is to determine the degree of a node in the graph. For the undirected graph, you should count the edge between two nodes only once. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and 13. The graph c...
5
graph_degree
The task is to determine if the graph is Eulerian. An Eulerian graph is a graph that contains an Eulerian circuit, which is a cycle that visits every edge exactly once. Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, and 5. The gra...
Yes
graph_is_eularian
The task is to determine the barycenter of a graph. The barycenter of a graph is also called the median. It includes the node that minimizes the sum of distances to all other nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6,...
[3]
graph_barycenter
The task is to determine the dominating set of a graph. A dominating set is a subset of nodes such that every node in the graph is either in the set or adjacent to a node in the set. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, and ...
[1,2]
graph_dominating_set
The task is to determine the barycenter of a graph. The barycenter of a graph is also called the median. It includes the node that minimizes the sum of distances to all other nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, an...
[4,5]
graph_barycenter
The task is to determine the topological sort of a directed acyclic graph (DAG). Here is a directed graph. In the graph, (u, v) means that there is an edge from node u to node v. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and 13. The graph contains edges: (1, 8), (8, 7), (8, 13), (2, 7), (7, 3), ...
[4,5,10,9,1,8,13,6,2,7,3,12,11]
graph_topological_sort
The task is to determine the betweenness centrality of a node in the graph. Betweenness centrality of a node u is the sum of the fraction of all-pairs shortest paths that pass through u. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, ...
0.41801075268817206
graph_betweenness_centrality
The task is to determine the depth-first search (DFS) traversal order given a starting node. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12. The graph contains edges: (1, 10), (1, 12), (2, 10), (3, 10), (...
[(2,3),(3,5),(3,10),(10,1),(1,12),(12,6),(6,7),(7,8),(8,9)]
graph_dfs
The task is to determine the minimum edge covering of a graph. An edge cover is a set of edges such that every vertex in the graph is incident to at least one edge in the set. The minimum edge cover is the edge cover with the smallest number of edges. Here is an undirected graph. In the graph, (u, v) means that node u...
[(5,3),(9,2),(10,7),(11,4),(12,11),(13,14),(16,15),(18,6),(20,19),(23,21),(24,17),(26,22),(27,25),(30,28),(31,29),(32,8),(33,1)]
graph_min_edge_covering
The task is to determine the effective size of a node in a graph. The effective size of a node is the number of nodes that are not directly connected to it, but are connected to its neighbors. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, ...
3.0
graph_effective_size
Given nodes u and v in a graph, the task is to determine if there is an edge connecting the two nodes. For undirected graphs, it means whether there are edges between u and v. For directed graphs, it means whether there are edges from u to v.Here is an undirected graph. In the graph, (u, v) means that node u and node ...
Yes
graph_edge_existence
The task is to determine the betweenness centrality of a node in the graph. Betweenness centrality of a node u is the sum of the fraction of all-pairs shortest paths that pass through u. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, ...
0.0
graph_betweenness_centrality
The task is to determine if the graph is bipartite. A bipartite graph is a graph whose nodes can be divided into two disjoint sets such that no two graph vertices within the same set are adjacent. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1,...
Yes
graph_is_bipartite
The task is to determine the degree assortativity coefficient of a graph. The degree assortativity coefficient is a measure of the correlation between the degrees of connected nodes. Here is an undirected graph. In the graph, (u, v) means that node u and node v are connected. The graph contains nodes: 1, 2, 3, 4, 5, 6...
-0.19801980198019745
graph_degree_assortativity