keep top $k$ weighted edges for each node

21 Views Asked by At

I have a weighted undirected fully connected graph. I want to exact a subgraph that each node in the subgraph has exactly $k$ top-weighted edges. Is there a way to find such subgraph?

1

There are 1 best solutions below

0
On BEST ANSWER

Such a subgraph may not exist. Consider the complete undirected edge wieghted graph below.

enter image description here