In fact, in Judaism, there were matchmakers a long time ago, and though they didn't have an explicit algorithm per se, they definitely were running through formulas in their heads, like, is the girl going to like the boy?
Im Judentum gab es schon vor langer Zeit Heiratsvermittler. Sie hatten zwar keinen expliziten Algorithmus, aber sie gingen alle Möglichkeiten  im Kopf durch, wie z. B.: Wird das Mädchen den Jungen mögen?