/**
 * This function takes two sets: set1 and set2, where each set represents a land cover type.
 * It calculates and returns the percentage of intersection between set1 and set2.
 */
fun calculateLandCoverPercentage(set1: Set<String>, set2: Set<String>): Double {

    val intersection = set1.intersect(set2)
    val percentage = (intersection.size.toDouble() / set1.size) * 100
    return percentage
}
/**
 * This function takes two sets: set1 and set2, where each set represents a land cover type.
 * It calculates and returns the percentage of intersection between set1 and set2.
 */
fun calculateLandCoverPercentage(set1: Set<String>, set2: Set<String>): Double {
/**
 * This function takes two sets: set1 and set2, where each set represents a land cover type.
 * It calculates and returns the percentage of intersection between set1 and set2.
 */
fun calculateLandCoverPercentage(set1: Set<String>, set2: Set<String>): Double {

    val intersection = set1.intersect(set2)
    val percentage = (intersection.size.toDouble() / set1.size) * 100
    return percentage
}