C# Class AIMA.Core.Search.Framework.QueueSearch

Inheritance: NodeExpander
ファイルを表示 Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
clearInstrumentation ( ) : void
getMaxQueueSize ( ) : int
getPathCost ( ) : double
getQueueSize ( ) : int
getResultingNodesToAddToFrontier ( Node nodeToExpand, Problem p ) : List
isCheckGoalBeforeAddingToFrontier ( ) : bool
isFailure ( List result ) : bool
popNodeFromFrontier ( ) : Node
removeNodeFromFrontier ( Node toRemove ) : bool
search ( Problem problem, Queue frontier ) : List
setCheckGoalBeforeAddingToFrontier ( bool checkGoalBeforeAddingToFrontier ) : void
setPathCost ( double pathCost ) : void
setQueueSize ( int queueSize ) : void

Private Methods

Method Description
failure ( ) : List

Method Details

clearInstrumentation() public method

public clearInstrumentation ( ) : void
return void

getMaxQueueSize() public method

public getMaxQueueSize ( ) : int
return int

getPathCost() public method

public getPathCost ( ) : double
return double

getQueueSize() public method

public getQueueSize ( ) : int
return int

getResultingNodesToAddToFrontier() public abstract method

public abstract getResultingNodesToAddToFrontier ( Node nodeToExpand, Problem p ) : List
nodeToExpand Node
p Problem
return List

isCheckGoalBeforeAddingToFrontier() public method

public isCheckGoalBeforeAddingToFrontier ( ) : bool
return bool

isFailure() public method

public isFailure ( List result ) : bool
result List
return bool

popNodeFromFrontier() public method

public popNodeFromFrontier ( ) : Node
return Node

removeNodeFromFrontier() public method

public removeNodeFromFrontier ( Node toRemove ) : bool
toRemove Node
return bool

search() public method

public search ( Problem problem, Queue frontier ) : List
problem Problem
frontier Queue
return List

setCheckGoalBeforeAddingToFrontier() public method

public setCheckGoalBeforeAddingToFrontier ( bool checkGoalBeforeAddingToFrontier ) : void
checkGoalBeforeAddingToFrontier bool
return void

setPathCost() public method

public setPathCost ( double pathCost ) : void
pathCost double
return void

setQueueSize() public method

public setQueueSize ( int queueSize ) : void
queueSize int
return void