<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=1000, p=0.5, can you use SpikyBallSampler to sample a subgraph which has 200 nodes with specific sampling parameters and explore the filtered breadth-first search sampling method?
### Response:
import networkx as nx
from littleballoffur import SpikyBallSampler

G = nx.gnp_random_graph(1000, 0.5)

sampler = SpikyBallSampler(number_of_nodes=200, sampling_probability=0.2, initial_nodes_ratio=0.15, seed=42, max_hops=100000, mode='firecoreball', max_visited_nodes_backlog=150, restart_hop_size=15, distrib_coeff=1.5)

sampler_G = sampler.sample(G)

print(sampler_G.nodes())
<|EOT|>
