C# Class AdvancedAlgorithms.StableMarriage2.Person

ファイルを表示 Open project: RodH257/Advanced-Algorithm-Problems

Public Properties

Property Type Description
CurrentMatch Person
IsWoman bool
Number int
Preferences List

Public Methods

Method Description
GetRank ( Person other ) : int
IsMatched ( ) : bool
MatchWith ( Person other ) : void
ToString ( ) : string

Method Details

GetRank() public method

public GetRank ( Person other ) : int
other Person
return int

IsMatched() public method

public IsMatched ( ) : bool
return bool

MatchWith() public method

public MatchWith ( Person other ) : void
other Person
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

CurrentMatch public_oe property

public Person CurrentMatch
return Person

IsWoman public_oe property

public bool IsWoman
return bool

Number public_oe property

public int Number
return int

Preferences public_oe property

public List Preferences
return List