Class HospitalResidents


  • public class HospitalResidents
    extends Object
    Author:
    ngonga
    • Constructor Detail

      • HospitalResidents

        public HospitalResidents()
    • Method Detail

      • getMatching

        public AMapping getMatching​(AMapping m)
        Implements hospital/residents for a similarity mapping. Can be used for detecting stable matching between properties and classes
        Parameters:
        m - Input Mapping
        Returns:
        Stable matching including weights
      • sort

        public double[] sort​(double[] input)