C# Class MakeClassSchedule.Algorithm.Algorithm

Afficher le fichier Open project: Behzadkhosravifar/MakeClassSchedule Class Usage Examples

Méthodes publiques

Свойство Type Description
MultiThreads Thread[]
_prototype Schedule
numCore int

Méthodes publiques

Méthode Description
Algorithm ( int numberOfChromosomes, int replaceByGeneration, int trackBest, Schedule prototype, Schedule observer ) : System
FreeInstance ( ) : void
GetBestChromosome ( ) : Schedule
GetCurrentGeneration ( ) : int
GetInstance ( ) : Algorithm
GetObserver ( ) : Schedule.ScheduleObserver
Pause ( ) : bool

Pause Running algorithm

Resume ( ) : bool

Resume Stopped algorithm

Start ( ) : bool
Stop ( ) : void

Private Methods

Méthode Description
AddToBest_Parallel ( int chromosomeIndex ) : void
AddToBest_Sequence ( int chromosomeIndex ) : void
ClearBest_Parallel ( ) : void
ClearBest_Sequence ( ) : void
GA_Start ( object Parallel_Mutex_On ) : void
IsInBest ( int chromosomeIndex ) : bool

Method Details

Algorithm() public méthode

public Algorithm ( int numberOfChromosomes, int replaceByGeneration, int trackBest, Schedule prototype, Schedule observer ) : System
numberOfChromosomes int
replaceByGeneration int
trackBest int
prototype Schedule
observer Schedule
Résultat System

FreeInstance() public static méthode

public static FreeInstance ( ) : void
Résultat void

GetBestChromosome() public méthode

public GetBestChromosome ( ) : Schedule
Résultat Schedule

GetCurrentGeneration() public méthode

public GetCurrentGeneration ( ) : int
Résultat int

GetInstance() public static méthode

public static GetInstance ( ) : Algorithm
Résultat Algorithm

GetObserver() public méthode

public GetObserver ( ) : Schedule.ScheduleObserver
Résultat Schedule.ScheduleObserver

Pause() public méthode

Pause Running algorithm
public Pause ( ) : bool
Résultat bool

Resume() public méthode

Resume Stopped algorithm
public Resume ( ) : bool
Résultat bool

Start() public méthode

public Start ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

MultiThreads public_oe property

public Thread[] MultiThreads
Résultat Thread[]

_prototype public_oe property

public Schedule,MakeClassSchedule.Algorithm _prototype
Résultat Schedule

numCore public_oe property

public int numCore
Résultat int