|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| Arc (Node< Label > head, Node< Label > tail, double cost, Label label) | |
| double | getCost () |
| Node< Label > | getHead () |
| Node< Label > | getTail () |
| Label | getLabel () |
| String | toString () |
Package Attributes | |
| final double | cost |
| final Node< Label > | head |
| final Node< Label > | tail |
| final Label | label |
An arc in a directed graph.
| Label | Type of label associated with an arc. |
| joshua.lattice.Arc< Label >.Arc | ( | Node< Label > | head, |
| Node< Label > | tail, | ||
| double | cost, | ||
| Label | label | ||
| ) |
Creates an arc with the specified head, tail, cost, and label.
| head | The node where this arc begins. |
| tail | The node where this arc ends. |
| cost | The cost of this arc. |
| label | The label associated with this arc. |
| double joshua.lattice.Arc< Label >.getCost | ( | ) |
Gets the cost of this arc.
| Node<Label> joshua.lattice.Arc< Label >.getHead | ( | ) |
Gets the head of this arc (the node where this arc begins).
| Label joshua.lattice.Arc< Label >.getLabel | ( | ) |
Gets the label associated with this arc.
| Node<Label> joshua.lattice.Arc< Label >.getTail | ( | ) |
Gets the tail of this arc (the node where this arc ends).
| String joshua.lattice.Arc< Label >.toString | ( | ) |
final double joshua.lattice.Arc< Label >.cost [package] |
Weight of this arc. Package-private scope so that Node and Lattice can quickly access this variable.
final Node<Label> joshua.lattice.Arc< Label >.head [package] |
Node where this arc begins. Package-private scope so that Node and Lattice can quickly access this variable.
final Label joshua.lattice.Arc< Label >.label [package] |
Label associated with this arc. Package-private scope so that Node and Lattice can quickly access this variable.
final Node<Label> joshua.lattice.Arc< Label >.tail [package] |
Node where this arc ends. Package-private scope so that Node and Lattice can quickly access this variable.