A Triangular Similarity Measure for Case Retrieval in CBR and Its Application to an Agricultural Decision Support System