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

List of all members.

Public Member Functions

 HyperGraph (HGNode goalNode, int numNodes, int numEdges, int sentID, int sentLen)
double bestLogP ()

Static Public Member Functions

static HyperGraph mergeTwoHyperGraphs (HyperGraph hg1, HyperGraph hg2)
static HyperGraph mergeHyperGraphs (List< HyperGraph > hgs)

Public Attributes

HGNode goalNode = null
int numNodes = -1
int numEdges = -1
int sentID = -1
int sentLen = -1

Static Package Attributes

static final Logger logger = Logger.getLogger(HyperGraph.class.getName())

Detailed Description

this class implement (1) HyperGraph-related data structures (Item and Hyper-edges)

Note: to seed the kbest extraction, each deduction should have the best_cost properly set. We do not require any list being sorted

Author:
Zhifei Li, zhife.nosp@m.i.wo.nosp@m.rk@gm.nosp@m.ail..nosp@m.com
Version:
$LastChangedDate$

Constructor & Destructor Documentation

joshua.decoder.hypergraph.HyperGraph.HyperGraph ( HGNode  goalNode,
int  numNodes,
int  numEdges,
int  sentID,
int  sentLen 
)

Here is the caller graph for this function:


Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

final Logger joshua.decoder.hypergraph.HyperGraph.logger = Logger.getLogger(HyperGraph.class.getName()) [static, package]