Moses::VarSpanNode Struct Reference

#include <VarSpanNode.h>

Collaboration diagram for Moses::VarSpanNode:

Collaboration graph
[legend]

List of all members.

Classes

struct  NonTermRange

Public Types

typedef std::vector
< IntermediateVarSpanNode
NodeVec
typedef boost::array< int, 5 > KeyType
typedef std::map< KeyType,
VarSpanNode
MapType

Public Member Functions

 VarSpanNode ()
VarSpanNodeInsert (const NodeVec &vec)
void CalculateRanges (int start, int end, std::vector< NonTermRange > &ranges) const

Public Attributes

const VarSpanNodem_parent
const KeyTypem_label
size_t m_rank
MapType m_children


Detailed Description

Todo:
what is this?

Definition at line 36 of file VarSpanNode.h.


Member Typedef Documentation

Definition at line 45 of file VarSpanNode.h.

Definition at line 46 of file VarSpanNode.h.

Definition at line 44 of file VarSpanNode.h.


Constructor & Destructor Documentation

Moses::VarSpanNode::VarSpanNode (  )  [inline]

Definition at line 48 of file VarSpanNode.h.


Member Function Documentation

void Moses::VarSpanNode::CalculateRanges ( int  start,
int  end,
std::vector< NonTermRange > &  ranges 
) const [inline]

Definition at line 59 of file VarSpanNode.h.

References key, m_label, m_parent, m_rank, and n.

Referenced by Moses::Scope3Parser::GetChartRuleCollection().

Here is the caller graph for this function:

VarSpanNode& Moses::VarSpanNode::Insert ( const NodeVec vec  )  [inline]

Definition at line 50 of file VarSpanNode.h.


Member Data Documentation

Definition at line 101 of file VarSpanNode.h.

Definition at line 99 of file VarSpanNode.h.

Referenced by CalculateRanges().

Definition at line 98 of file VarSpanNode.h.

Referenced by CalculateRanges().


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

Generated on Thu Jul 6 00:33:55 2017 for Moses by  doxygen 1.5.9