Selecting an appropriate structural pattern