Public Member Functions | Package Functions | Package Attributes
tfjava.TFListener.SearchNode< V > Class Reference

List of all members.

Public Member Functions

int compareTo (SearchNode< V > other)

Package Functions

 SearchNode (V content)
 SearchNode (SearchNode< V > orig)

Package Attributes

SearchNode< V > backwardStep
content
double cost
SearchNode< V > forwardStep

Detailed Description

Wrapper search node that can be used for bi-directional best-first search. Keeps track of search path by maintaining links to parent nodes, in both directions (i.e., from source and from target node).

Author:
Sjoerd van den Dries
Parameters:
<V>Content type of the search node

Definition at line 473 of file TFListener.java.


Constructor & Destructor Documentation

tfjava.TFListener.SearchNode< V >.SearchNode ( content) [inline, package]

Default constructor; sets specified content and cost to 0, steps to null.

Definition at line 484 of file TFListener.java.

tfjava.TFListener.SearchNode< V >.SearchNode ( SearchNode< V >  orig) [inline, package]

Copy constructor

Definition at line 492 of file TFListener.java.


Member Function Documentation

int tfjava.TFListener.SearchNode< V >.compareTo ( SearchNode< V >  other) [inline]

Comparator method: low cost < high cost.

Definition at line 500 of file TFListener.java.


Member Data Documentation

SearchNode<V> tfjava.TFListener.SearchNode< V >.backwardStep [package]

Refers to parent node in forward path

Definition at line 479 of file TFListener.java.

V tfjava.TFListener.SearchNode< V >.content [package]

Content of search node

Definition at line 475 of file TFListener.java.

double tfjava.TFListener.SearchNode< V >.cost [package]

Cost of path up and until this search node

Definition at line 477 of file TFListener.java.

SearchNode<V> tfjava.TFListener.SearchNode< V >.forwardStep [package]

Refers to parent node in backward path

Definition at line 481 of file TFListener.java.


The documentation for this class was generated from the following file:


tfjava
Author(s): Sjoerd van den Dries
autogenerated on Sun Oct 5 2014 22:54:19