<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=315, p=0.25, can you use RandomNodeNeighborSampler to sample a subgraph which has 10 nodes and compute a set of edges of minimum cardinality that disconnects G ?
### Response:
import networkx as nx
from littleballoffur import RandomNodeNeighborSampler

G = nx.gnp_random_graph(n=315, p=0.25)

sampler = RandomNodeNeighborSampler(10)

sampler_G = sampler.sample(G)

result = nx.minimum_edge_cut(sampler_G)

print(result)
<|EOT|>
