Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.decoder.hypergraph.ForestWalker Class Reference
Collaboration diagram for joshua.decoder.hypergraph.ForestWalker:
[legend]

List of all members.

Public Member Functions

 ForestWalker ()
void walk (HGNode node, WalkerFunction walker)

Private Attributes

Set< HGNodevisitedNodes

Detailed Description

Author:
Matt Post post@.nosp@m.cs.j.nosp@m.hu.ed.nosp@m.u This class visits every node in a forest using a depth-first, preorder traversal, applying the WalkerFunction to each node. It would be easy to add other traversals if the demand arose.

Constructor & Destructor Documentation


Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation