<｜begin▁of▁sentence｜>### Instruction:
As a Greenhouse Grower, imagine you're tasked with managing a greenhouse with 100 plant beds. To simulate the growth and spread of pests in your greenhouse environment, you want to utilize the Forest Fire model. This model mimics how fires spread through a forest, but in this case, we're applying it to the spread of pests among your plants.

You need to set up the model with specific parameters. Your forward burning probability, akin to how fast pests spread to neighboring plants, is set at 0.4. Additionally, the backward burning ratio, which signifies the likelihood of pests spreading back to previously infested plants, is set at 0.7.

Once you've established the Forest Fire model, you'll want to analyze the degree of infestation for each plant bed. This degree represents how many neighboring plant beds are affected by pests. By understanding these degrees, you can better strategize pest control measures to protect your greenhouse crops.
### Response:
import igraph as ig

# Parameters for the forest fire model
n = 100          # Number of vertices
fw_prob = 0.4    # Forward burning probability
bw_factor = 0.7  # Backward burning ratio

# Generate the graph
forest_fire_graph = ig.Graph.Forest_Fire(n, fw_prob, bw_factor=bw_factor)

# Get the degree of each vertex
vertex_degrees = forest_fire_graph.degree()

# Print the degrees
print(vertex_degrees)
<|EOT|>
