C# 클래스 AForge.MachineLearning.TabuSearchExploration

Tabu search exploration policy.
The class implements simple tabu search exploration policy, allowing to set certain actions as tabu for a specified amount of iterations. The actual exploration and choosing from non-tabu actions is done by base exploration policy.
상속: IExplorationPolicy
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET

공개 메소드들

메소드 설명
ChooseAction ( double actionEstimates ) : int

Choose an action.

The method chooses an action depending on the provided estimates. The estimates can be any sort of estimate, which values usefulness of the action (expected summary reward, discounted reward, etc). The action is choosed from non-tabu actions only.

ResetTabuList ( ) : void

Reset tabu list.

Clears tabu list making all actions allowed.

SetTabuAction ( int action, int tabuTime ) : void

Set tabu action.

TabuSearchExploration ( int actions, IExplorationPolicy basePolicy ) : System

Initializes a new instance of the TabuSearchExploration class.

메소드 상세

ChooseAction() 공개 메소드

Choose an action.
The method chooses an action depending on the provided estimates. The estimates can be any sort of estimate, which values usefulness of the action (expected summary reward, discounted reward, etc). The action is choosed from non-tabu actions only.
public ChooseAction ( double actionEstimates ) : int
actionEstimates double Action estimates.
리턴 int

ResetTabuList() 공개 메소드

Reset tabu list.
Clears tabu list making all actions allowed.
public ResetTabuList ( ) : void
리턴 void

SetTabuAction() 공개 메소드

Set tabu action.
public SetTabuAction ( int action, int tabuTime ) : void
action int Action to set tabu for.
tabuTime int Tabu time in iterations.
리턴 void

TabuSearchExploration() 공개 메소드

Initializes a new instance of the TabuSearchExploration class.
public TabuSearchExploration ( int actions, IExplorationPolicy basePolicy ) : System
actions int Total actions count.
basePolicy IExplorationPolicy Base exploration policy.
리턴 System