C# Class AdvancedAlgorithms.StableMarriage2.Person

Show file 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 property

public Person CurrentMatch
return Person

IsWoman public property

public bool IsWoman
return bool

Number public property

public int Number
return int

Preferences public property

public List Preferences
return List