C# 클래스 MakeClassSchedule.Algorithm.Algorithm

파일 보기 프로젝트 열기: Behzadkhosravifar/MakeClassSchedule 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MultiThreads Thread[]
_prototype Schedule
numCore int

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Algorithm() 공개 메소드

public Algorithm ( int numberOfChromosomes, int replaceByGeneration, int trackBest, Schedule prototype, Schedule observer ) : System
numberOfChromosomes int
replaceByGeneration int
trackBest int
prototype Schedule
observer Schedule
리턴 System

FreeInstance() 공개 정적인 메소드

public static FreeInstance ( ) : void
리턴 void

GetBestChromosome() 공개 메소드

public GetBestChromosome ( ) : Schedule
리턴 Schedule

GetCurrentGeneration() 공개 메소드

public GetCurrentGeneration ( ) : int
리턴 int

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : Algorithm
리턴 Algorithm

GetObserver() 공개 메소드

public GetObserver ( ) : Schedule.ScheduleObserver
리턴 Schedule.ScheduleObserver

Pause() 공개 메소드

Pause Running algorithm
public Pause ( ) : bool
리턴 bool

Resume() 공개 메소드

Resume Stopped algorithm
public Resume ( ) : bool
리턴 bool

Start() 공개 메소드

public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

프로퍼티 상세

MultiThreads 공개적으로 프로퍼티

public Thread[] MultiThreads
리턴 Thread[]

_prototype 공개적으로 프로퍼티

public Schedule,MakeClassSchedule.Algorithm _prototype
리턴 Schedule

numCore 공개적으로 프로퍼티

public int numCore
리턴 int