C# Class ScheduleWorks.Algorithm.Schedule

Mostra file Open project: lyubomiryanchev/ScheduleWorks Class Usage Examples

Public Methods

Method Description
CalculateRating ( ) : Rating

Calculates the rating of the current schedule

Mutate ( int mutationCount ) : void
Not ( Dictionary compDict ) : bool
Schedule ( ) : System
Schedule ( List timetable ) : System
Schedule ( List timetable, AlgorithmParameters parameters ) : System
Schedule ( Schedule firstParent, Schedule secondParent, AlgorithmParameters parameters ) : System
Shuffle ( Random rnd ) : void

Private Methods

Method Description
SetTimetable ( List timetable ) : void

Method Details

CalculateRating() public method

Calculates the rating of the current schedule
public CalculateRating ( ) : Rating
return Rating

Mutate() public method

public Mutate ( int mutationCount ) : void
mutationCount int
return void

Not() public method

public Not ( Dictionary compDict ) : bool
compDict Dictionary
return bool

Schedule() public method

public Schedule ( ) : System
return System

Schedule() public method

public Schedule ( List timetable ) : System
timetable List
return System

Schedule() public method

public Schedule ( List timetable, AlgorithmParameters parameters ) : System
timetable List
parameters ScheduleWorks.Utility.AlgorithmParameters
return System

Schedule() public method

public Schedule ( Schedule firstParent, Schedule secondParent, AlgorithmParameters parameters ) : System
firstParent Schedule
secondParent Schedule
parameters ScheduleWorks.Utility.AlgorithmParameters
return System

Shuffle() public method

public Shuffle ( Random rnd ) : void
rnd System.Random
return void