In computer science, there is the notion of the edit distance between two strings. 1  For example, the words dog and dot, which vary by only one letter, are closer than dog and cat, which differ by three letters. This idea is used in spell checkers and in coding theory, and is mathematically formalized in several different ways, such as: 1  Levenshtein distance. 2  Hamming distance. 3  Lee distance. 4  JaroâWinkler distance. 5  N-gram distance.
These companion plants can add elements to the soil, keep pests away, help with pollination or act as bait to draw pests to it instead of your vegetable plants. To companion plant bush and pole beans, you'll want to plan your garden in advance to allow room for all of your plants, not just the beans. Decide if you want to interplant your beans with other vegetables, flowers, herbs or a mixture of all three.
Companion vegetable plants are plants that can help each other when planted near each other. Creating a companion vegetable garden will allow you to take advantage of these useful and beneficial relationships. Companion Planting Reasons. First, many companion plants are already things you would grow in your garden. By moving these plants around, you can get the best performance from them. Second, many companion vegetable plants help to deter pests, which helps to decrease the amount of pesticides and effort it takes to keep your garden pest free.