C# Класс numl.AI.Node

Class Node.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AddChild() публичный Метод

Adds the child.
Invalid node state!
public AddChild ( Node n ) : void
n Node The n.
Результат void

Expand() публичный Метод

Expands this instance.
public Expand ( ) : IEnumerable
Результат IEnumerable

Expand() публичный Метод

Expands the specified closed.
public Expand ( IEnumerable closed ) : IEnumerable
closed IEnumerable The closed.
Результат IEnumerable

Node() публичный Метод

Initializes a new instance of the Node class.
public Node ( IState state ) : System
state IState The state.
Результат System

Node() публичный Метод

Initializes a new instance of the Node class.
public Node ( Node parent, ISuccessor successor ) : System
parent Node The parent.
successor ISuccessor The successor.
Результат System