prompts
stringlengths
279
11.1k
answers
stringlengths
1
254
tasks
stringclasses
47 values
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
graph_transitivity
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 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...
No
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, and ...
-0.3333333333333333
graph_degree_assortativity
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 ...
2
graph_weakly_connected_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, and 5. The graph c...
Yes
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...
[(1,21),(2,18),(5,9),(6,1),(7,17),(12,10),(14,5),(16,8),(16,15),(20,13),(22,19),(23,3),(23,11),(24,7),(25,23),(26,16),(27,4),(28,2)]
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
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 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, and 23. The graph contain...
[(5,2),(5,4),(5,20),(5,23),(2,13),(2,14),(2,15),(2,18),(2,19),(4,3),(4,7),(4,8),(4,9),(4,10),(4,12),(4,17),(4,21),(20,16),(20,22),(15,11),(18,6),(17,1)]
graph_bfs
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,...
7
graph_triangles
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.28932109591521793
graph_constraint
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,2),(1,7),(2,8),(3,6),(4,6),(4,10),(5,6),(6,12),(7,11),(9,11)]
graph_minimum_spanning_tree
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, 18, 1...
[(1,16),(1,21),(2,5),(2,29),(3,29),(4,6),(5,24),(6,19),(7,9),(7,23),(8,23),(8,30),(9,11),(10,12),(10,26),(12,13),(12,14),(15,16),(17,18),(17,19),(17,28),(20,22),(20,23),(25,26),(26,27)]
graph_bridges
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.09879032258064516
graph_density
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,8,12,18,23,24,32]
graph_dominating_set
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, and 6. The gra...
0.5800000000000001
graph_global_efficiency
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,2,4]
graph_barycenter
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, 27, 28, 29, and 30. The graph ...
[1,2,4,6,7,9,10,13,14,15,16,18,19,21,22,23,25,26,30]
graph_common_neighbor
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.24060150375939737
graph_degree_assortativity
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...
[(14,5),(14,18),(5,10),(18,4),(18,12),(10,2)]
graph_bfs
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.7207792207792207
graph_transitivity
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, and 5. The graph contains edges: (1, 4), (4, 5), (2,...
[(1,4),(2,3),(3,5),(4,5)]
graph_bridges
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 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.484472049689441
graph_transitivity
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, and 21. The graph contains edges: (1, 3), (1, 4), (1, ...
[7]
graph_common_neighbor
The task is to determine the number of connected components in the graph. A connected component is a subgraph where any two nodes are connected to each other by paths. 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, and 7. The gr...
1
graph_connected_component_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,...
2
graph_triangles
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.25
graph_jaccard_coefficient
The task is to determine the number of connected components in the graph. A connected component is a subgraph where any two nodes are connected to each other by paths. 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, ...
1
graph_connected_component_number
The task is to determine the Wiener index of a connected graph. The Wiener index of a graph is the sum of the shortest-path distances between each pair of reachable nodes. For pairs of nodes in undirected graphs, only one orientation of the pair is counted. Here is an undirected graph. In the graph, (u, v) means that ...
409.0
graph_wiener_index
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.1587301587301587
graph_betweenness_centrality
The task is to determine the Wiener index of a connected graph. The Wiener index of a graph is the sum of the shortest-path distances between each pair of reachable nodes. For pairs of nodes in undirected graphs, only one orientation of the pair is counted. Here is an undirected graph. In the graph, (u, v) means that ...
897.0
graph_wiener_index
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, ...
[14,20]
graph_periphery
The task is to determine if the graph has a cycle. 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, 6), (6, 10), (2, 3), (3, 14), (3, 16), (3, 4), (5, 15), (5,...
No
graph_has_cycle
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, and 5. The graph ...
0.5
graph_degree_centrality
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 ...
16
graph_edge_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.3623169482846879
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.18478260869565216
graph_density
The task is to determine the Wiener index of a connected graph. The Wiener index of a graph is the sum of the shortest-path distances between each pair of reachable nodes. For pairs of nodes in undirected graphs, only one orientation of the pair is counted. Here is an undirected graph. In the graph, (u, v) means that ...
191.0
graph_wiener_index
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 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.3333333333333333
graph_density
The task is to determine the Adamic-Adar index of two nodes in a graph. The Adamic-Adar index is the sum of the inverse logarithm 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 nodes: 1, 2, 3, 4, ...
0.9102392266268373
graph_adamic_adar_index
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,...
[2,5]
graph_barycenter
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.15151515151515152
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.04329004329004329
graph_betweenness_centrality
The task is to determine the Adamic-Adar index of two nodes in a graph. The Adamic-Adar index is the sum of the inverse logarithm 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 nodes: 1, 2, 3, 4, ...
1.4426950408889634
graph_adamic_adar_index
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,...
3
graph_degree
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 Wiener index of a connected graph. The Wiener index of a graph is the sum of the shortest-path distances between each pair of reachable nodes. For pairs of nodes in undirected graphs, only one orientation of the pair is counted. Here is an undirected graph. In the graph, (u, v) means that ...
725.0
graph_wiener_index
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, and 8. The graph contains edges: (1, 8), (1, 7), (8, 7), (7, 4), (2, 3), (3, 5), (5, 6), (6, ...
[2,3,5,6,1,8,7,4]
graph_topological_sort
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,2),(1,3),(1,5),(1,6),(1,7),(1,9),(1,10),(2,4),(3,11),(3,12),(4,13),(8,9),(8,15),(8,16),(10,17),(14,16)]
graph_minimum_spanning_tree
The task is to determine 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, 23, 24, 25, 26, 27, 28, and 29. The graph contains edges:...
[14,27]
graph_neighbor
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, and 9. The graph cont...
0.5347222222222222
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:...
4
graph_strongly_connected_number
The task is to determine 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, 23, 24, 25, 26, 27, 28, and 29. The graph contains edges:...
[3]
graph_neighbor
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.0625
graph_degree_centrality
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 ...
No
graph_edge_existence
The task is to determine the closeness centrality of a node in the graph. For a node u, closeness centrality is the reciprocal of the average shortest path distance to u over all n-1 reachable nodes. For directed graphs, it computes the incoming distance to u. Here is an undirected graph. In the graph, (u, v) means tha...
0.21428571428571427
graph_closeness_centrality
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.2
graph_resource_allocation_index
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...
8.2
graph_harmonic_centrality
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, and 8. The graph contains edges: (1, 8), (1, 5), (5, 6), (2, 3), (3, 4), (4, 7), (6, 7...
No
graph_triangle_detection
The task is to determine the number of connected components in the graph. A connected component is a subgraph where any two nodes are connected to each other by paths. 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, ...
3
graph_connected_component_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, and 5. The graph c...
Yes
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, 10, 11, 12, 13, 14, 15, 16, 17, a...
4
graph_diameter
The task is to determine 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, and 12. The graph contains edges: (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 8), (2, 3), (2, 4), (2,...
[1,2,3,4,5,7,10,11]
graph_neighbor
The task is to determine the Wiener index of a connected graph. The Wiener index of a graph is the sum of the shortest-path distances between each pair of reachable nodes. For pairs of nodes in undirected graphs, only one orientation of the pair is counted. Here is an undirected graph. In the graph, (u, v) means that ...
105.0
graph_wiener_index
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.0019157088122605363
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, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, ...
6
graph_radius
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, and 10. The graph contains edges: (1, 8), (1, 9), (1, 2), (1, 10), (6, 8), (7, 8), (8, 9), (8, 10)...
[8]
graph_common_neighbor
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, and 9. The graph contains edges: (1, 5), (1, 9), (1, 3), (3, 5), (4, 5), (5, 6), (5, 9), (3, 9), (2, 3), (2, 8), (7,...
9
graph_node_number
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,6]
graph_maximal_independent_set
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.5
graph_resource_allocation_index
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.30741943241943237
graph_global_efficiency
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, 18, 1...
[(2,11),(17,21),(21,24)]
graph_bridges
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,...
[11]
graph_barycenter
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, ...
[1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]
graph_periphery
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:...
2
graph_strongly_connected_number
The task is to determine the number of nodes in the 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, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, and 24. The graph contains edges: (1, 2), (1, 8), (1,...
24
graph_node_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,7,8,10,11]
graph_min_vertex_cover
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, and 22. The graph contains edges: (1, 1...
2.0
graph_avg_neighbor_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 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, and 7. The g...
No
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, and 9. The graph contains edges: (1, 5), (1, 9), (1, 3), (3, 5), (4, 5), (5, 6), (5...
Yes
graph_triangle_detection
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,20),(6,16),(9,2),(11,1),(12,11),(13,21),(14,8),(15,5),(17,10),(19,7),(22,4),(23,18)]
graph_min_edge_covering
The task is to determine the local connectivity of two nodes in the graph. Local connectivity is whether there exists at least one path between 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, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1...
Yes
graph_local_connectivity
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, and 5. The gra...
No
graph_is_strongly_connected
The task is to determine 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, and 9. The graph contains edges: (1, 3), (1, 5), (1, 4), (1, 6), (4, 5), (5, 9), (5, 6), (4, 9), (2, 7), (2, 8),...
[2,9]
graph_neighbor
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, and 6. The graph contains edges: (1, 6),...
[2,6]
graph_periphery
The task is to determine the Wiener index of a connected graph. The Wiener index of a graph is the sum of the shortest-path distances between each pair of reachable nodes. For pairs of nodes in undirected graphs, only one orientation of the pair is counted. Here is an undirected graph. In the graph, (u, v) means that ...
64.0
graph_wiener_index
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, and 22. The graph contains edges: (1, 5), (1, 11), (1, 19), (1, 2...
22
graph_node_number
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, and 5. The gra...
Yes
graph_is_strongly_connected
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, 2), (1, 11), (2, 12), (4, 12), (6, 12), (3, 9), (3, 5), (9, 10), (7...
12
graph_node_number
The task is to determine the number of isolated nodes in the graph. An isolated node is a node that has no edges connecting it to any 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, 1...
0
graph_isolate_number
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:...
3
graph_strongly_connected_number
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,10),(1,11),(2,8),(2,12),(2,15),(3,4),(3,5),(3,6),(3,10),(3,16),(7,13),(8,14),(9,17),(9,18),(9,19),(10,13),(12,19)]
graph_minimum_spanning_tree
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, and 5...
[1]
graph_barycenter
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,2),(1,7),(2,11),(2,14),(3,5),(4,6),(5,11),(6,12),(7,8),(8,9),(10,12),(11,13)]
graph_minimum_spanning_tree
The task is to determine the closeness centrality of a node in the graph. For a node u, closeness centrality is the reciprocal of the average shortest path distance to u over all n-1 reachable nodes. For directed graphs, it computes the incoming distance to u. Here is an undirected graph. In the graph, (u, v) means tha...
0.10315789473684212
graph_closeness_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...
[(2,24),(3,2),(7,6),(12,11),(14,4),(15,20),(17,5),(18,16),(22,21),(23,14),(25,9),(26,8),(27,19),(28,10),(29,32),(30,13),(31,1)]
graph_min_edge_covering
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...
[(1,17),(2,16),(3,8),(4,6),(5,9),(7,11),(10,14),(12,1),(13,3),(15,10)]
graph_min_edge_covering