C# Class numl.AI.Node

Class Node.
Exibir arquivo Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
AddChild ( Node n ) : void

Adds the child.

Expand ( ) : IEnumerable

Expands this instance.

Expand ( IEnumerable closed ) : IEnumerable

Expands the specified closed.

Node ( IState state ) : System

Initializes a new instance of the Node class.

Node ( Node parent, ISuccessor successor ) : System

Initializes a new instance of the Node class.

Method Details

AddChild() public method

Adds the child.
Invalid node state!
public AddChild ( Node n ) : void
n Node The n.
return void

Expand() public method

Expands this instance.
public Expand ( ) : IEnumerable
return IEnumerable

Expand() public method

Expands the specified closed.
public Expand ( IEnumerable closed ) : IEnumerable
closed IEnumerable The closed.
return IEnumerable

Node() public method

Initializes a new instance of the Node class.
public Node ( IState state ) : System
state IState The state.
return System

Node() public method

Initializes a new instance of the Node class.
public Node ( Node parent, ISuccessor successor ) : System
parent Node The parent.
successor ISuccessor The successor.
return System