Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Matcher

Hierarchy

  • Matcher

Index

Constructors

constructor

  • new Matcher(menPrefs: object, womenPrefs: object): Matcher

Properties

couples

couples: object

Type declaration

  • [man: string]: string

men

men: string[]

menFree

menFree: object

Type declaration

  • [man: string]: boolean

menPrefs

menPrefs: object

Type declaration

  • [man: string]: string[]

women

women: string[]

womenFree

womenFree: object

Type declaration

  • [woman: string]: boolean

womenPrefs

womenPrefs: object

Type declaration

  • [woman: string]: string[]

Methods

Private breakup

  • breakup(man: string, woman: string): void

Private engage

  • engage(man: string, woman: string): void

match

  • match(): object

Private nextMan

  • nextMan(): string | undefined

Private prefers

  • prefers(woman: string, man1: string, man2: string): boolean

Generated using TypeDoc