Recognition of the Mechanical Properties for Soils in Complex Conditions: A Case Study